summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-07-31 11:16:37 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-07-31 11:17:29 +0200
commitca14dbd6b5bf0c3941cb70b5b46a8c9bc8f7a41d (patch)
treec1a1f8cff03061300916dfb2a8a879e442a7f23e
parentd5fd9e0e5b85919536bb9353b655166c0df481a8 (diff)
downloademacs-ca14dbd6b5bf0c3941cb70b5b46a8c9bc8f7a41d.tar.gz
Fix loaddefs byte-compile warnings from grep.el
* lisp/progmodes/grep.el (grep-highlight-matches) (grep-match-face): Autoload to avoid byte-compile warnings from loaddefs.el.
-rw-r--r--lisp/progmodes/grep.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index c01d7e997ec..4c1f801980a 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -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.")