]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix warnings introduced by the lisp-mode-autoload-regexp change
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 4 Jun 2022 11:50:07 +0000 (13:50 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 4 Jun 2022 11:50:07 +0000 (13:50 +0200)
* lisp/emacs-lisp/lisp-mode.el (lisp-fdefs): The package name bit
in ###;;;foo-autoload may be missing, so do a lax match (bug#55784).

lisp/emacs-lisp/lisp-mode.el

index c2d0efbf50d89ee704db7886f17c6d6982950d4a..aaec13d1afcf1755dbe982b7c3d200917b54200d 100644 (file)
@@ -437,7 +437,7 @@ This will generate compile-time constants from BINDINGS."
         ;; 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)))
+                                    (2 font-lock-function-name-face prepend t)))
       "Subdued level highlighting for Emacs Lisp mode.")
 
     (defconst lisp-cl-font-lock-keywords-1