aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/newcomment.el14
2 files changed, 13 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7f07f5f5608..b15c72614cd 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12009-05-26 Chong Yidong <cyd@stupidchicken.com>
2
3 * newcomment.el (comment-region): Doc fix (Bug#3370).
4
12009-05-24 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> 52009-05-24 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
2 6
3 * mail/smtpmail.el: Indent code properly to make it more readable. 7 * mail/smtpmail.el: Indent code properly to make it more readable.
diff --git a/lisp/newcomment.el b/lisp/newcomment.el
index 3c922b8d1c1..c7ad8821b6f 100644
--- a/lisp/newcomment.el
+++ b/lisp/newcomment.el
@@ -1046,12 +1046,16 @@ the region rather than at left margin."
1046With just \\[universal-argument] prefix arg, uncomment each line in region BEG .. END. 1046With just \\[universal-argument] prefix arg, uncomment each line in region BEG .. END.
1047Numeric prefix ARG means use ARG comment characters. 1047Numeric prefix ARG means use ARG comment characters.
1048If ARG is negative, delete that many comment characters instead. 1048If ARG is negative, delete that many comment characters instead.
1049By default, comments start at the left margin, are terminated on each line,
1050even for syntax in which newline does not end the comment and blank lines
1051do not get comments. This can be changed with `comment-style'.
1052 1049
1053The strings used as comment starts are built from 1050The strings used as comment starts are built from `comment-start'
1054`comment-start' without trailing spaces and `comment-padding'." 1051and `comment-padding'; the strings used as comment ends are built
1052from `comment-end' and `comment-padding'.
1053
1054By default, the `comment-start' markers are inserted at the
1055current indentation of the region, and comments are terminated on
1056each line (even for syntaxes in which newline does not end the
1057comment and blank lines do not get comments). This can be
1058changed with `comment-style'."
1055 (interactive "*r\nP") 1059 (interactive "*r\nP")
1056 (comment-normalize-vars) 1060 (comment-normalize-vars)
1057 (if (> beg end) (let (mid) (setq mid beg beg end end mid))) 1061 (if (> beg end) (let (mid) (setq mid beg beg end end mid)))