diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-02-11 23:15:13 -0500 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-02-14 22:29:56 -0500 |
commit | 0a64666288e3f32967db4ad683a4bc2f225fb952 (patch) | |
tree | 2f235f41d4c44bd7f218a006b59d03feb4eab672 /lisp/newcomment.el | |
parent | 61ea36bb37740315dc78ba213db51c508c489f25 (diff) | |
download | emacs-0a64666288e3f32967db4ad683a4bc2f225fb952.tar.gz |
Test comment-multi-line = nil auto fill case too
* test/lisp/progmodes/js-tests.el (js-mode-auto-fill): Test with
`comment-multi-line' both nil and non-nil.
* lisp/newcomment.el (comment-multi-line): Mark safe if it's a
boolean.
* etc/NEWS: Mention that `js-mode' now sets `comment-multi-line'.
Diffstat (limited to 'lisp/newcomment.el')
-rw-r--r-- | lisp/newcomment.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/newcomment.el b/lisp/newcomment.el index 1af89293b62..4b261c34c65 100644 --- a/lisp/newcomment.el +++ b/lisp/newcomment.el @@ -309,6 +309,7 @@ customize this variable. It also affects \\[indent-new-comment-line]. However, if you want this behavior for explicit filling, you might as well use \\[newline-and-indent]." :type 'boolean + :safe #'booleanp :group 'comment) (defcustom comment-empty-lines nil |