diff lisp/font-lock.el @ 5194:77907bd57d25

Add missing CL style fontification. lisp/ChangeLog addition: 2010-04-07 Didier Verna <didier@xemacs.org> * font-lock.el (lisp-font-lock-keywords-2): Add missing CL style lambda list constructs (&key etc.). * lisp-mode.el (lisp-function-and-type-regexp): Recognize defun* as well as defun.
author Didier Verna <didier@xemacs.org>
date Wed, 07 Apr 2010 14:38:41 +0200
parents c1784fd59d7d
children 239193591765 308d34e9f07d
line wrap: on
line diff
--- a/lisp/font-lock.el	Tue Apr 06 23:29:35 2010 -0500
+++ b/lisp/font-lock.el	Wed Apr 07 14:38:41 2010 +0200
@@ -2259,7 +2259,9 @@
     '("\\<:\\sw+\\>" 0 font-lock-reference-face prepend)
     ;;
     ;; ELisp and CLisp `&' keywords as types.
-    '("\\<\\&\\(optional\\|rest\\|whole\\)\\>" . font-lock-type-face)
+    '("\\<\\&\\(\
+optional\\|rest\\|body\\|whole\\|key\\|allow-other-keys\\|aux\\|environment\
+\\)\\>" . font-lock-type-face)
     ))
   "Gaudy level highlighting for Lisp modes.")