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'.

Regards,

-- 
Nicolas Goaziou

Reply via email to