[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 18:50:38 +0100 |
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'.
Regards,
--
Nicolas Goaziou