From: Stefan Monnier Date: Tue, 18 Mar 2014 20:49:24 +0000 (-0400) Subject: * lisp/simple.el (newline-and-indent): Do autofill. X-Git-Tag: emacs-24.3.90~155 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ac9b4703e1944a9ac4887ea7a9af6b9659e4600c;p=emacs.git * lisp/simple.el (newline-and-indent): Do autofill. Fixes: debbugs:17031 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9bf92ae1b58..70b557ad36b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2014-03-18 Stefan Monnier + + * simple.el (newline-and-indent): Do autofill (bug#17031). + 2014-03-18 Dmitry Gutov * newcomment.el (comment-normalize-vars): Only add escaping check diff --git a/lisp/simple.el b/lisp/simple.el index d84708217b4..09a9d45c43a 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -611,7 +611,7 @@ In some text modes, where TAB inserts a tab, this command indents to the column specified by the function `current-left-margin'." (interactive "*") (delete-horizontal-space t) - (newline 1 t) + (newline nil t) (indent-according-to-mode)) (defun reindent-then-newline-and-indent ()