emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp ChangeLog newcomment.el


From: Chong Yidong
Subject: [Emacs-diffs] emacs/lisp ChangeLog newcomment.el
Date: Tue, 26 May 2009 03:16:37 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      09/05/26 03:16:36

Modified files:
        lisp           : ChangeLog newcomment.el 

Log message:
        * newcomment.el (comment-region): Doc fix (Bug#3370).

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.15656&r2=1.15657
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/newcomment.el?cvsroot=emacs&r1=1.116&r2=1.117

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.15656
retrieving revision 1.15657
diff -u -b -r1.15656 -r1.15657
--- ChangeLog   25 May 2009 01:13:59 -0000      1.15656
+++ ChangeLog   26 May 2009 03:16:31 -0000      1.15657
@@ -1,3 +1,7 @@
+2009-05-26  Chong Yidong  <address@hidden>
+
+       * newcomment.el (comment-region): Doc fix (Bug#3370).
+
 2009-05-24  Roland Winkler  <address@hidden>
 
        * mail/smtpmail.el: Indent code properly to make it more readable.

Index: newcomment.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/newcomment.el,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -b -r1.116 -r1.117
--- newcomment.el       5 Jan 2009 03:19:36 -0000       1.116
+++ newcomment.el       26 May 2009 03:16:36 -0000      1.117
@@ -1046,12 +1046,16 @@
 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)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]