From: Eshel Yaron Date: Sat, 18 Jan 2025 17:43:28 +0000 (+0100) Subject: Restore autoload cookie highlighting X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f4a8f4f8d0a4999fc0b0493bac307a38653374f7;p=emacs.git Restore autoload cookie highlighting --- diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index fb5383af4f1..83f5cf6d9a0 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -543,7 +543,11 @@ This is the `font-lock-fontify-region-function' for `emacs-lisp-mode'." prepend)) (lisp--match-confusable-symbol-character 0 '(face font-lock-warning-face - help-echo "Confusable character"))) + help-echo "Confusable character")) + ;; Emacs Lisp autoload cookies. Supports the slightly different + ;; forms used by mh-e, calendar, etc. + (,lisp-mode-autoload-regexp (3 font-lock-warning-face prepend) + (2 font-lock-function-name-face prepend t))) "Highlighting patterns for Emacs Lisp mode.") ;;;###autoload