Hi,
here a slightly extended and fixed version of comment.el:
;;; Major changes to previous version:
;; With `c-toggle-comment-style' both C comment-styles
;; are available. Try `comment-c-test-lor' for the results.
;; `comment-dwim-lor' or `comment-uncomment-lor' from
;; inside a comment which spans over several lines
;; will detect that and uncomment.
;; With universal arg, line or region is copied and
;; inserted over commented/uncommented part, thus
;; preserving old state
Andreas Röhler
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta