You're right, I moved it near the top of my init file, and it works
Solved!
Thanks
On 30/03/2024 12:43, yantar92 at posteo.net wrote:
Kepa writes:
I have added a custom face, but it doesn't work unless I do "M-x
org-mode-restart".
The custom face:
(defun yant/apply-custom-faces ()
(a
Kepa writes:
> I have added a custom face, but it doesn't work unless I do "M-x
> org-mode-restart".
>
> The custom face:
>
> (defun yant/apply-custom-faces ()
> (add-to-list 'org-font-lock-extra-keywords
> '("(\\([^)]*?[A-Z]+[^)]+?[0-9]\\{3,4\\}[^)]*\\))" . (0 'shadow prepend))
> 'append))
Hi
I have added a custom face, but it doesn't work unless I do "M-x
org-mode-restart".
The custom face:
(defun yant/apply-custom-faces ()
(add-to-list 'org-font-lock-extra-keywords
'("(\\([^)]*?[A-Z]+[^)]+?[0-9]\\{3,4\\}[^)]*\\))" . (0 'shadow prepend))
'append))
(add-hook 'org-font-loc