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: Francis Moreau
Subject: Re: org-mode turn on auto-fill?
Date: Sat, 24 Oct 2009 14:14:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Andreas Politz <politza@fh-trier.de> writes:

> Francis Moreau <francis.moro@gmail.com> writes:
>
>> On Oct 22, 3:46 pm, Andreas Politz <poli...@fh-trier.de> wrote:
>>> Neal Becker <ndbeck...@gmail.com> 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.
>

It looks like it does:

,----
| (defvar org-mode-hook nil
|   "Mode hook for Org-mode, run after the mode was turned on.")
`----

-- 
Francis


reply via email to

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