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

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

Re: Refill mode for text-mode, but not for org-mode


From: Bastien
Subject: Re: Refill mode for text-mode, but not for org-mode
Date: Fri, 24 Oct 2008 16:50:54 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) 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 'org-mode-hook (lambda () (refill-mode 0)))

-- 
Bastien




reply via email to

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