emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/trunk r105770: * newcomment.el (comment-add


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105770: * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
Date: Wed, 14 Sep 2011 17:21:59 -0400
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105770
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Wed 2011-09-14 17:21:59 -0400
message:
  * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
modified:
  lisp/ChangeLog
  lisp/newcomment.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-09-14 21:20:24 +0000
+++ b/lisp/ChangeLog    2011-09-14 21:21:59 +0000
@@ -1,5 +1,7 @@
 2011-09-14  Stefan Monnier  <address@hidden>
 
+       * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
+
        * mpc.el (mpc-constraints-tag-lookup): New function.
        (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
        also to browser "album|playlist".

=== modified file 'lisp/newcomment.el'
--- a/lisp/newcomment.el        2011-05-28 23:07:43 +0000
+++ b/lisp/newcomment.el        2011-09-14 21:21:59 +0000
@@ -987,8 +987,8 @@
                   (setq ,bindent (- ,bindent n)))))))))))
 
 (defun comment-add (arg)
-  "Compute the number of extra comment starter characters
-\(extra semicolons in Lisp mode, extra stars in C mode, etc.)
+  "Compute the number of extra comment starter characters.
+\(Extra semicolons in Lisp mode, extra stars in C mode, etc.)
 If ARG is non-nil, just follow ARG.
 If the comment starter is multi-char, just follow ARG.
 Otherwise obey `comment-add'."
@@ -1243,7 +1243,7 @@
   :group 'comment)
 
 (defun comment-valid-prefix-p (prefix compos)
-    "Check that the adaptive-fill-prefix is consistent with the context.
+    "Check that the adaptive fill prefix is consistent with the context.
 PREFIX is the prefix (presumably guessed by `adaptive-fill-mode').
 COMPOS is the position of the beginning of the comment we're in, or nil
 if we're not inside a comment."


reply via email to

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