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-lock-set-keywords-hook #'yant/apply-custom-faces)

I have tried saving the desktop manually, but it doesn't take effect, I have to reload org-mode each session.

This is my desktop-save config:

 '(desktop-auto-save-timeout nil)
 '(desktop-base-file-name "emacs-desktop")
 '(desktop-file-name-format 'tilde)
 '(desktop-lazy-idle-delay 0)
 '(desktop-load-locked-desktop t)
 '(desktop-missing-file-warning nil)
 '(desktop-path '("~/.emacs.d/"))
 '(desktop-restore-eager t)
 '(desktop-restore-forces-onscreen 'all)
 '(desktop-save nil)

(setq desktop-restore-frames t)
(setq desktop-restore-in-current-display t)
(desktop-read)