From: Richard M. Stallman Date: Tue, 14 Jul 1998 05:51:20 +0000 (+0000) Subject: (do-auto-fill): Always break before any whitespace X-Git-Tag: emacs-20.3~325 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4b9c8a06041b4d2131659adb9925987f86dd3c61;p=emacs.git (do-auto-fill): Always break before any whitespace so that point ends up at the right place. --- diff --git a/lisp/simple.el b/lisp/simple.el index e5fa2386320..7e4a1a4adfe 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2956,6 +2956,8 @@ Setting this variable automatically makes it local to the current buffer.") (kinsoku (save-excursion (forward-line 0) (point)))) ;; Let fill-point be set to the place where we end up. + ;; But move back before any whitespace here. + (skip-chars-backward " \t") (point))))) ;; See whether the place we found is any good.