bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28003: 26.0.50; Auto fill broken in Message mode


From: Katsumi Yamaoka
Subject: bug#28003: 26.0.50; Auto fill broken in Message mode
Date: Wed, 09 Aug 2017 12:33:01 +0900
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (i686-pc-cygwin)

On Mon, 07 Aug 2017 21:56:42 +0200, Stephen Berman wrote:
> This change:
[...]
> broke auto filling in Message mode; the breakage is due specifically to
> this change in comment-indent-new-line:

This will probably be no more than a workaround, though.

--- message.el~ 2017-08-08 22:08:28.694840400 +0000
+++ message.el  2017-08-09 03:30:33.407170200 +0000
@@ -3451,7 +3451,7 @@
 (defun message-do-auto-fill ()
   "Like `do-auto-fill', but don't fill in message header."
   (unless (message-point-in-header-p)
-    (do-auto-fill)))
+    (let ((comment-start nil)) (do-auto-fill))))
 
 (defun message-insert-signature (&optional force)
   "Insert a signature.  See documentation for variable `message-signature'."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]