[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master ca14dbd6b5 3/3: Fix loaddefs byte-compile warnings from grep.el
From: |
Lars Ingebrigtsen |
Subject: |
master ca14dbd6b5 3/3: Fix loaddefs byte-compile warnings from grep.el |
Date: |
Sun, 31 Jul 2022 05:17:36 -0400 (EDT) |
branch: master
commit ca14dbd6b5bf0c3941cb70b5b46a8c9bc8f7a41d
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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.
---
lisp/progmodes/grep.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index c01d7e997e..4c1f801980 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.")