diff options
-rw-r--r-- | lisp/help.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/help.el b/lisp/help.el index 59cc1974a7d..2c39c4c6da4 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -97,7 +97,10 @@ ;; ;; The symbol itself. (list (concat "\\`\\(" name-char "+\\)\\(\\(:\\)\\|\\('\\)\\)") - '(1 font-lock-function-name-face)) + '(1 (if (match-beginning 3) + font-lock-function-name-face + font-lock-variable-name-face) + nil t)) ;; ;; Words inside `' which tend to be symbol names. (list (concat "`\\(" sym-char sym-char "+\\)'") |