From 4b9c8a06041b4d2131659adb9925987f86dd3c61 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 14 Jul 1998 05:51:20 +0000 Subject: [PATCH] (do-auto-fill): Always break before any whitespace so that point ends up at the right place. --- lisp/simple.el | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.39.2