1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-14 18:10:32 -08:00
Commit graph

203 commits

Author SHA1 Message Date
Stefan Monnier
7a0a180a0a (kill-comment): Fixed by rewriting it with syntax-tables rather than regexps
(comment-normalize-vars): Set default (cdr comment-continue)
(comment-end-quote-re): new function taken out of `comment-region-internal'
(uncomment-region): Rewritten using syntax-tables.  Also unquotes
  nested comment-ends and eliminates continuation markers.
(comment-region-internal): Don't create a default for cce.
  Use `comment-end-quote-re'.
1999-11-29 00:49:18 +00:00
Stefan Monnier
aac88001d4 (comment-make-extra-lines): Moved out of comment-region-internal.
(comment-with-narrowing): New macro.  Provides a way to preserve
  indentation inside narrowing.
(comment-region-internal): Add "\n" to close the comment if necessary.
  Correctly handle commenting-out when BEG is not bolp.
1999-11-28 21:33:55 +00:00
Stefan Monnier
83b96b2250 First "working" version:
- uncomment-region doesn't work for some unknown reason
- comment-multi-line allows the use of multi line comments
- comment-extra-lines allows yet another style choice
- comment-add allows to default to `;;'
- comment-region on a comment calls uncomment-region
- C-u C-u comment-region aligns comment end markers
- C-u C-u C-u comment-region puts the comment inside a rectangle
1999-11-28 18:51:06 +00:00