|
From: | Johan Bockgård |
Subject: | Re: Refill mode for text-mode, but not for org-mode |
Date: | Fri, 24 Oct 2008 20:36:03 +0200 |
User-agent: | Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux) |
Decebal <CLDWesterhof@gmail.com> writes: > I have the following in my .emacs: > (add-hook 'text-mode-hook > (lambda () (refill-mode 1) > ) > > This sets refill-mode for text-mode -what I want-, but also for org- > mode -what I do not want-. How can I set it for text-mode without also > setting it for org-mode? (add-hook 'text-mode-hook (lambda () ;; List exceptions here (unless (memq major-mode '(org-mode)) (refill-mode 1))))
[Prev in Thread] | Current Thread | [Next in Thread] |