]> code.delx.au - gnu-emacs/commitdiff
* newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 14 Sep 2011 21:21:59 +0000 (17:21 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 14 Sep 2011 21:21:59 +0000 (17:21 -0400)
lisp/ChangeLog
lisp/newcomment.el

index aa8eddae085836bb39d6edcd45e69a57cf55bebc..975cd34ba601436130d792788a4ec459c411562b 100644 (file)
@@ -1,5 +1,7 @@
 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * 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".
index a1d77ccc6e0ffc2486a5eea72801da6f6ec97739..8c0d7b25939764ec71b7af7055fc8223fd7e7647 100644 (file)
@@ -987,8 +987,8 @@ indentation to be kept as it was before narrowing."
                   (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 @@ This has no effect in modes that do not define a comment syntax."
   :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."