On 2015-07-29, at 21:32, Xiha <x...@laposte.net> wrote: > Hi John, > > Yes, highlight-regexp looks good and simple, when I apply it manually to > the buffer. No need even to define a new face as the default hi-yellow > is what I want. > > But: (how) can I call highlight-regexp from my .emacs file so that it > automatically applies to every Org buffer? Or must it be called on a per > buffer basis? Just putting (highlight-regexp "·[^·]*·") in my .emacs, as > well as (global-hi-lock-mode 1) because Emacs throws a warning > otherwise, didn't work.
C-h v org-mode-hook RET Hth, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University