From: Luc Teirlinck Date: Mon, 6 Jun 2005 21:32:57 +0000 (+0000) Subject: (font-lock-add-keywords): Doc fix. X-Git-Tag: emacs-pretest-22.0.90~9226 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dd314c0fc3adeec23b1e71f61ef0806fbac4b10e;p=emacs.git (font-lock-add-keywords): Doc fix. --- diff --git a/lisp/font-lock.el b/lisp/font-lock.el index f75c08151e8..07e3970119e 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -691,7 +691,7 @@ For example: (add-hook 'c-mode-hook (lambda () - (font-lock-add-keywords 'c-mode + (font-lock-add-keywords nil '((\"\\\\\\=<\\\\(FIXME\\\\):\" 1 font-lock-warning-face prepend) (\"\\\\\\=<\\\\(and\\\\|or\\\\|not\\\\)\\\\\\=>\" . font-lock-keyword-face)))))