emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Org-mode and fill-nobreak-predicate


From: Nicolas Goaziou
Subject: Re: [O] Org-mode and fill-nobreak-predicate
Date: Sun, 04 Jan 2015 19:35:31 +0100

Marcin Borkowski <address@hidden> writes:

> On 2015-01-04, at 18:50, Nicolas Goaziou <address@hidden> wrote:
>
>> Hello,
>>
>> Marcin Borkowski <address@hidden> writes:
>>
>>> I've just installed Emacs 25 (I only had 24.3 before), and was eager to
>>> try out some cool new features.  I put this in my init.el:
>>>
>>> (add-hook 'fill-nobreak-predicate #'fill-single-char-nobreak-p)
>>>
>>> But it won't work in Org-mode: it turns out that Org sets
>>> fill-nobreak-predicate, too.  What should I do?  Should I put my
>>> add-hook /in the org-mode-hook/?
>>
>> You need to set `fill-nobreak-predicate' before Org is loaded, or add
>> the hook locally within `org-mode-hook'.
>
> Thanks!  I'll try to set it up at the beginning of my init.el and see
> what happens.

BTW, `fill-nobreak-predicate' is not a hook.

Regards,



reply via email to

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