summaryrefslogtreecommitdiff
path: root/lisp/newcomment.el
diff options
context:
space:
mode:
authorIvan Andrus <darthandrus@gmail.com>2015-09-23 09:21:32 -0600
committerIvan Andrus <darthandrus@gmail.com>2015-09-23 17:49:50 -0600
commitf247147d1646e1d80068d5d8aaf284707606fe9d (patch)
treeebf007beaa072edd01bcce8287960e682e468748 /lisp/newcomment.el
parentec0ddb5c7a27dd600a68940db762fc5c92550b08 (diff)
downloademacs-f247147d1646e1d80068d5d8aaf284707606fe9d.tar.gz
; Implement Stefan's feedback on last two commits
Diffstat (limited to 'lisp/newcomment.el')
-rw-r--r--lisp/newcomment.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/newcomment.el b/lisp/newcomment.el
index 765e60a5bcf..0c49211869e 100644
--- a/lisp/newcomment.el
+++ b/lisp/newcomment.el
@@ -418,7 +418,6 @@ If UNP is non-nil, unquote nested comment markers."
(setq cs (comment-string-strip cs t t))
(setq ce (comment-string-strip ce t t))
(when (and comment-quote-nested
- comment-quote-nested-function
(> (length ce) 0))
(funcall comment-quote-nested-function cs ce unp)))
@@ -427,8 +426,8 @@ If UNP is non-nil, unquote nested comment markers."
It expects to be called with the buffer narrowed to a single comment.
It is used as a default for `comment-quote-nested-function'.
-The arguments CS and CE are regular expressions matching comment
-starting and ending delimiters respectively.
+The arguments CS and CE are strings matching comment starting and
+ending delimiters respectively.
If UNP is non-nil, comments are unquoted instead.