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: Marcin Borkowski
Subject: Re: [O] Org-mode and fill-nobreak-predicate
Date: Sun, 04 Jan 2015 19:11:00 +0100

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.

> Regards,

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



reply via email to

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