Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
707f4689
Commit
707f4689
authored
May 26, 2009
by
Chong Yidong
Browse files
* newcomment.el (comment-region): Doc fix (Bug#3370).
parent
ae98e41f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/newcomment.el
lisp/newcomment.el
+9
-5
No files found.
lisp/ChangeLog
View file @
707f4689
2009-05-26 Chong Yidong <cyd@stupidchicken.com>
* newcomment.el (comment-region): Doc fix (Bug#3370).
2009-05-24 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
* mail/smtpmail.el: Indent code properly to make it more readable.
...
...
lisp/newcomment.el
View file @
707f4689
...
...
@@ -1046,12 +1046,16 @@ the region rather than at left margin."
With just \\[universal-argument] prefix arg, uncomment each line in region BEG .. END.
Numeric prefix ARG means use ARG comment characters.
If ARG is negative, delete that many comment characters instead.
By default, comments start at the left margin, are terminated on each line,
even for syntax in which newline does not end the comment and blank lines
do not get comments. This can be changed with `comment-style'.
The strings used as comment starts are built from
`comment-start' without trailing spaces and `comment-padding'."
The strings used as comment starts are built from `comment-start'
and `comment-padding'; the strings used as comment ends are built
from `comment-end' and `comment-padding'.
By default, the `comment-start' markers are inserted at the
current indentation of the region, and comments are terminated on
each line (even for syntaxes in which newline does not end the
comment and blank lines do not get comments). This can be
changed with `comment-style'."
(
interactive
"*r\nP"
)
(
comment-normalize-vars
)
(
if
(
>
beg
end
)
(
let
(
mid
)
(
setq
mid
beg
beg
end
end
mid
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment