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

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

comment-auto-fill-only-comments stops auto-fill in Message mode?


From: Reuben Thomas
Subject: comment-auto-fill-only-comments stops auto-fill in Message mode?
Date: Thu, 19 Feb 2004 14:54:52 +0100 (CET)

If I set comment-auto-fill-only-comments to t, then auto-fill stops
working in Message mode. Presumably message-mode defines a comment
syntax... I'm not sure if this counts as a bug, but it's pretty
unfriendly. The following is a workaround I put in my .emacs:

;; Message mode
;; Stop comment-auto-fill-only-comments preventing auto-fill
(add-hook 'message-mode-hook
          '(lambda ()
             (set (make-local-variable 'comment-auto-fill-only-comments)
                  nil)))

-- 
http://www.mupsych.org/~rrt/
Kleineken: refreshes the dimensions other beers cannot reach




reply via email to

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