# HG changeset patch # User Richard M. Stallman # Date 797547672 0 # Node ID b51e4c4cb0de65ce4d24764a59d660630ac9ad40 # Parent 48baf159de5c2d19c37ed1788ca8468f981ff6bf (newline): Don't auto-fill if flag is on; it was filling wrong line. diff -r 48baf159de5c -r b51e4c4cb0de lisp/simple.el --- a/lisp/simple.el Mon Apr 10 18:11:41 1995 +0000 +++ b/lisp/simple.el Mon Apr 10 21:01:12 1995 +0000 @@ -47,7 +47,9 @@ ;; Set last-command-char to tell self-insert what to insert. (let ((last-command-char ?\n) ;; Don't auto-fill if we have a numeric argument. - (auto-fill-function (if arg nil auto-fill-function))) + ;; Also not if flag is true (it would fill wrong line); + ;; there is no need to since we're at BOL. + (auto-fill-function (if (or arg flag) nil auto-fill-function))) (self-insert-command (prefix-numeric-value arg))) ;; Mark the newline(s) `hard'. (if use-hard-newlines