From: Miles Bader Date: Tue, 10 Sep 2002 01:24:12 +0000 (+0000) Subject: (do-auto-fill): `fill-indent-according-to-mode' is a variable, not a X-Git-Tag: ttn-vms-21-2-B4~13275 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0e53a3732abb498c391d1347805696a6502ec49d;p=emacs.git (do-auto-fill): `fill-indent-according-to-mode' is a variable, not a function. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 784ee855f20..ddfc6be823a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,10 @@ +2002-09-10 Miles Bader + + * simple.el (do-auto-fill): `fill-indent-according-to-mode' is a + variable, not a function. + + * kmacro.el (kmacro-call-macro): Deal with a non-numeric prefix arg. + 2002-09-10 Kim F. Storm * macros.el (apply-macro-to-region-lines): Let-bind mark-active to diff --git a/lisp/simple.el b/lisp/simple.el index 6d1dbe1db7c..99cf8d8af63 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -3084,7 +3084,7 @@ Setting this variable automatically makes it local to the current buffer.") (save-excursion (forward-paragraph 1) (point))))) (and prefix (not (equal prefix "")) ;; Use auto-indentation rather than a guessed empty prefix. - (not (and (fill-indent-according-to-mode) + (not (and fill-indent-according-to-mode (string-match "\\`[ \t]*\\'" prefix))) (setq fill-prefix prefix))))