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

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

Re: org-mode turn on auto-fill?


From: Andreas Politz
Subject: Re: org-mode turn on auto-fill?
Date: Sat, 24 Oct 2009 13:24:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Francis Moreau <address@hidden> writes:

> On Oct 22, 3:46 pm, Andreas Politz <address@hidden> wrote:
>> Neal Becker <address@hidden> writes:
>> > I want auto-fill turned on in org mode.  For now I did:
>> > (add-hook 'text-mode-hook 'turn-on-auto-fill)
>>
>> > Is there a more direct setting for org mode?
>>
>> M-x load-library RET org RET
>> M-x apropos-variable RET org hook RET
>>
>
> Funny, it shows a couple of org hooks but not the interesting one :
> org-mode-hook

Yes, org-mode does not defvar this hook, it just uses it.  So my polite
RTFM did miss somehow.

Anyway, the point is, that all major-modes called `MODE' define,
arguably by definition, a hook with the name `MODE-hook'.

-ap





reply via email to

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