diff options
| author | Chong Yidong | 2009-05-26 03:16:31 +0000 |
|---|---|---|
| committer | Chong Yidong | 2009-05-26 03:16:31 +0000 |
| commit | 707f4689ea69233f9ac07de3c5a2d2ef5599592f (patch) | |
| tree | 6c7d3113eca021ded0e6146fcc4c3ebc0c9a2dc5 | |
| parent | ae98e41f9460d469d930c6c73242442deebd0997 (diff) | |
| download | emacs-707f4689ea69233f9ac07de3c5a2d2ef5599592f.tar.gz emacs-707f4689ea69233f9ac07de3c5a2d2ef5599592f.zip | |
* newcomment.el (comment-region): Doc fix (Bug#3370).
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/newcomment.el | 14 |
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 @@ | |||
| 1 | 2009-05-26 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * newcomment.el (comment-region): Doc fix (Bug#3370). | ||
| 4 | |||
| 1 | 2009-05-24 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> | 5 | 2009-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." | |||
| 1046 | With just \\[universal-argument] prefix arg, uncomment each line in region BEG .. END. | 1046 | With just \\[universal-argument] prefix arg, uncomment each line in region BEG .. END. |
| 1047 | Numeric prefix ARG means use ARG comment characters. | 1047 | Numeric prefix ARG means use ARG comment characters. |
| 1048 | If ARG is negative, delete that many comment characters instead. | 1048 | If ARG is negative, delete that many comment characters instead. |
| 1049 | By default, comments start at the left margin, are terminated on each line, | ||
| 1050 | even for syntax in which newline does not end the comment and blank lines | ||
| 1051 | do not get comments. This can be changed with `comment-style'. | ||
| 1052 | 1049 | ||
| 1053 | The strings used as comment starts are built from | 1050 | The strings used as comment starts are built from `comment-start' |
| 1054 | `comment-start' without trailing spaces and `comment-padding'." | 1051 | and `comment-padding'; the strings used as comment ends are built |
| 1052 | from `comment-end' and `comment-padding'. | ||
| 1053 | |||
| 1054 | By default, the `comment-start' markers are inserted at the | ||
| 1055 | current indentation of the region, and comments are terminated on | ||
| 1056 | each line (even for syntaxes in which newline does not end the | ||
| 1057 | comment and blank lines do not get comments). This can be | ||
| 1058 | changed 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))) |