diff options
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/simple.el | 2 |
2 files changed, 8 insertions, 1 deletions
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 <miles@gnu.org> + + * 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 <storm@cua.dk> * 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)))) |
