On 2015-01-04, at 18:50, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote:

> Hello,
>
> Marcin Borkowski <mb...@wmi.amu.edu.pl> 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