summaryrefslogtreecommitdiff
path: root/lisp/newcomment.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-06-02 10:29:38 -0700
committerGlenn Morris <rgm@gnu.org>2018-06-02 10:29:38 -0700
commit84f992d42e3a4c21db9994b8c6585c336cb05163 (patch)
treebf758a9c000eae7efb59b2375b166998ea6f330c /lisp/newcomment.el
parentd3f94d2869af87e7fb8f18f9f9cdc6e0b9bdd20b (diff)
parent4cfe5312c85130ea9ea0b379923c0ef6b190df77 (diff)
downloademacs-84f992d42e3a4c21db9994b8c6585c336cb05163.tar.gz
Merge from origin/emacs-26
4cfe531 (origin/emacs-26) Improve ELisp documentation of 'clone-indir... 9089b02 Improve documentation of 'inhibit-message' 6107e12 Improve documentation of comment styles fb45125 Documentation improvements in newcomment.el 641c94c Imp[rove documentation of 'with-silent-modifications'
Diffstat (limited to 'lisp/newcomment.el')
-rw-r--r--lisp/newcomment.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/newcomment.el b/lisp/newcomment.el
index 0e983fd9164..cd722663dad 100644
--- a/lisp/newcomment.el
+++ b/lisp/newcomment.el
@@ -895,7 +895,7 @@ If N is `re', a regexp is returned instead, that would match
(defun uncomment-region (beg end &optional arg)
"Uncomment each line in the BEG .. END region.
The numeric prefix ARG can specify a number of chars to remove from the
-comment markers."
+comment delimiters."
(interactive "*r\nP")
(comment-normalize-vars)
(when (> beg end) (setq beg (prog1 end (setq end beg))))
@@ -909,7 +909,8 @@ comment markers."
(defun uncomment-region-default-1 (beg end &optional arg)
"Uncomment each line in the BEG .. END region.
The numeric prefix ARG can specify a number of chars to remove from the
-comment markers."
+comment delimiters.
+This function is the default value of `uncomment-region-function'."
(goto-char beg)
(setq end (copy-marker end))
(let* ((numarg (prefix-numeric-value arg))