summaryrefslogtreecommitdiff
path: root/lisp/simple.el
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-08-09 16:06:23 -0600
committerTom Tromey <tom@tromey.com>2017-08-09 16:06:23 -0600
commit81656add8117e8d1b7faab18b330d0706462b433 (patch)
tree39506c6f7a8afa723f742637fe3f7e3985789e1f /lisp/simple.el
parent904be8c4cf8522a54a85542954bd553b6dbd0b64 (diff)
downloademacs-81656add8117e8d1b7faab18b330d0706462b433.tar.gz
Fix auto-filling regression
Bug#28003 * lisp/newcomment.el (comment-indent-new-line): Check comment-auto-fill-only-comments. Reverts earlier change. * lisp/simple.el (internal-auto-fill): Call auto-fill-function, not do-auto-fill.
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 9838f1644f8..933ffc55a6b 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -7243,7 +7243,7 @@ unless optional argument SOFT is non-nil."
(when (or (not comment-start)
(not comment-auto-fill-only-comments)
(nth 4 (syntax-ppss)))
- (do-auto-fill)))
+ (funcall auto-fill-function)))
(defvar normal-auto-fill-function 'do-auto-fill
"The function to use for `auto-fill-function' if Auto Fill mode is turned on.