From fb45125c80313b85a7ee56417e746eeac5eecb05 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 2 Jun 2018 13:43:43 +0300 Subject: [PATCH] Documentation improvements in newcomment.el * lisp/newcomment.el (uncomment-region) (uncomment-region-default): Doc fixes. (Bug#31615) --- lisp/newcomment.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/newcomment.el b/lisp/newcomment.el index f5615d93df3..9827a5d1d9c 100644 --- a/lisp/newcomment.el +++ b/lisp/newcomment.el @@ -887,7 +887,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)))) @@ -901,7 +901,8 @@ comment markers." (defun uncomment-region-default (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)) -- 2.39.5