summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2019-04-04 23:37:08 +0100
committerBasil L. Contovounesios <contovob@tcd.ie>2019-04-11 11:41:45 +0100
commit71be83ef8b413922c69e614bcc1d434ec7db68f6 (patch)
tree880bf7b248bb615818666a54d7057c72bbca99bd
parent559f64a0b6b6f915d26ada8283b74ab6bbfbf3b2 (diff)
downloademacs-71be83ef8b413922c69e614bcc1d434ec7db68f6.tar.gz
Backport: Fix comment-empty-lines docstring (bug#35152)
* lisp/newcomment.el (comment-empty-lines): Consistently use US commas in docstring. Fix indentation of and typo in custom :type. (cherry picked from commit 690c678fb6c1fb5b2f828f9bb90782bd0b01c399)
-rw-r--r--lisp/newcomment.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/newcomment.el b/lisp/newcomment.el
index 2c1ac9d8da3..335cbdd3366 100644
--- a/lisp/newcomment.el
+++ b/lisp/newcomment.el
@@ -319,11 +319,11 @@ behavior for explicit filling, you might as well use \\[newline-and-indent]."
(defcustom comment-empty-lines nil
"If nil, `comment-region' does not comment out empty lines.
If t, it always comments out empty lines.
-If `eol' it only comments out empty lines if comments are
-terminated by the end of line (i.e. `comment-end' is empty)."
+If `eol', it only comments out empty lines if comments are
+terminated by the end of line (i.e., `comment-end' is empty)."
:type '(choice (const :tag "Never" nil)
- (const :tag "Always" t)
- (const :tag "EOl-terminated" eol))
+ (const :tag "Always" t)
+ (const :tag "EOL-terminated" eol))
:group 'comment)
;;;;