[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Fontification in Org tables

From: François Pinard
Subject: [O] Fontification in Org tables
Date: Fri, 28 Dec 2012 12:40:13 -0500

Hi, Org people.

Let me report an old problem of mine about missing fontification in Org
tables.  In my .emacs file, I have:

(defun fp-fontify-fixme ()
   nil '(("\\<FIXME\\>" 0 font-lock-warning-face t))))

(let ((hooks '(c-mode-common-hook change-log-mode-hook
               cperl-mode-hook css-mode-hook emacs-lisp-mode-hook
               html-mode-hook latex-mode-hook lisp-mode-hook
               makefile-mode-hook message-mode-hook org-mode-hook
               php-mode-hook python-mode-hook sh-mode-hook
               shell-mode-hook ssh-config-mode-hook)))
  (while hooks
    (add-hook (car hooks) 'fp-fontify-fixme)
    (setq hooks (cdr hooks))))

This works nicely in Org file, /except/ within Org tables.  Would
someone be kind enough to give me a magical recipe to solve it? :-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]