]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix loaddefs byte-compile warnings from grep.el
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jul 2022 09:16:37 +0000 (11:16 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jul 2022 09:17:29 +0000 (11:17 +0200)
* lisp/progmodes/grep.el (grep-highlight-matches)
(grep-match-face): Autoload to avoid byte-compile warnings from
loaddefs.el.

lisp/progmodes/grep.el

index c01d7e997ecf48f107673ff976311c3d96d3eddf..4c1f801980af378759095b1a21319662ef3f2f9f 100644 (file)
@@ -66,6 +66,7 @@ SYMBOL should be one of `grep-command', `grep-template',
                 integer)
   :version "22.1")
 
+;;;###autoload
 (defcustom grep-highlight-matches 'auto-detect
   "Use special markers to highlight grep matches.
 
@@ -352,6 +353,7 @@ A grep buffer becomes most recent when you select Grep mode in it.
 Notice that using \\[next-error] or \\[compile-goto-error] modifies
 `next-error-last-buffer' rather than `grep-last-buffer'.")
 
+;;;###autoload
 (defvar grep-match-face        'match
   "Face name to use for grep matches.")