summaryrefslogtreecommitdiff
path: root/lisp/newcomment.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2011-09-14 17:21:59 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2011-09-14 17:21:59 -0400
commit1b8b395447e2c4d417e98ec1656e357b15ecadeb (patch)
tree6b459d0712e179378736bfb80bf11c2de1a04e31 /lisp/newcomment.el
parentd3c309545b668fd69fea7d324ece194018e9d224 (diff)
downloademacs-1b8b395447e2c4d417e98ec1656e357b15ecadeb.tar.gz
* newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
Diffstat (limited to 'lisp/newcomment.el')
-rw-r--r--lisp/newcomment.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/newcomment.el b/lisp/newcomment.el
index a1d77ccc6e0..8c0d7b25939 100644
--- a/lisp/newcomment.el
+++ b/lisp/newcomment.el
@@ -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."