Hello ! In a docstring, if I have :
"`nil' if blahblah, `t' otherwise.", only nil will be fontified with font-lock-constant-face. I'm wondering why this should be that way, I'm using the following patch without being annoyed: *** emacs/lisp/font-lock.el 2005-10-16 17:07:12.000000000 +0200 --- emacs/lisp/font-lock.el 2005-10-16 17:07:30.000000000 +0200 *************** *** 2077,2083 **** ;; Words inside \\[] tend to be for `substitute-command-keys'. ("\\\\\\\\\\[\\(\\sw+\\)]" 1 font-lock-constant-face prepend) ;; Words inside `' tend to be symbol names. ! ("`\\(\\sw\\sw+\\)'" 1 font-lock-constant-face prepend) ;; Constant values. ("\\<:\\sw+\\>" 0 font-lock-builtin-face) ;; ELisp and CLisp `&' keywords as types. --- 2077,2083 ---- ;; Words inside \\[] tend to be for `substitute-command-keys'. ("\\\\\\\\\\[\\(\\sw+\\)]" 1 font-lock-constant-face prepend) ;; Words inside `' tend to be symbol names. ! ("`\\(\\sw+\\)'" 1 font-lock-constant-face prepend) ;; Constant values. ("\\<:\\sw+\\>" 0 font-lock-builtin-face) ;; ELisp and CLisp `&' keywords as types. -- Michael Cadilhac, a.k.a. Micha [mika] | Epita/LRDE promo 2007 | Please note that you should 2 rue de la Convention | 08.70.65.13.14 | s/[EMAIL PROTECTED]/@/ my mail address. 94270 Le Kremlin Bicetre | 06.23.20.31.30 |
pgp9gzshnu4tG.pgp
Description: PGP signature
_______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel