aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/newcomment.el (follow)
Commit message (Collapse)AuthorAgeFilesLines
* various fixes and gratuitous movements.Stefan Monnier1999-12-081-64/+69
|
* (comment-style(s)): Replaces comment-extra-lines (and comment-multi-line).Stefan Monnier1999-11-301-163/+444
| | | | | | (comment-use-syntax): Whether to use the syntax-table or just the regexps. (comment-end-skip): To find the end of the text. ...
* (comment-find): New function.Stefan Monnier1999-11-291-103/+104
| | | | (indent-for-comment, set-comment-column, kill-comment): use it.
* (kill-comment): Fixed by rewriting it with syntax-tables rather than regexpsStefan Monnier1999-11-291-125/+136
| | | | | | | | | (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'.
* (comment-make-extra-lines): Moved out of comment-region-internal.Stefan Monnier1999-11-281-30/+84
| | | | | | | (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.
* First "working" version:Stefan Monnier1999-11-281-0/+494
- 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