[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 012f9c28053: Fix defcustom :type in replace.el (Bug#65920)
From: |
Stefan Kangas |
Subject: |
master 012f9c28053: Fix defcustom :type in replace.el (Bug#65920) |
Date: |
Wed, 13 Sep 2023 12:02:00 -0400 (EDT) |
branch: master
commit 012f9c28053d06b6d527d77530605aedbd55d5b4
Author: Mauro Aranda <maurooaranda@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Fix defcustom :type in replace.el (Bug#65920)
* lisp/replace.el (list-matching-lines-face)
(list-matching-lines-buffer-name-face): Allow a nil value.
---
lisp/replace.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lisp/replace.el b/lisp/replace.el
index eeac734f3bd..6b06e48c384 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -1667,13 +1667,15 @@ A positive number means to include that many lines both
before and after."
(defcustom list-matching-lines-face 'match
"Face used by \\[list-matching-lines] to show the text that matches.
If the value is nil, don't highlight the matching portions specially."
- :type 'face
+ :type '(choice (const :tag "Don't highlight matching portions" nil)
+ face)
:group 'matching)
(defcustom list-matching-lines-buffer-name-face 'underline
"Face used by \\[list-matching-lines] to show the names of buffers.
If the value is nil, don't highlight the buffer names specially."
- :type 'face
+ :type '(choice (const :tag "Don't highlight buffer names" nil)
+ face)
:group 'matching)
(defcustom list-matching-lines-current-line-face 'lazy-highlight
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 012f9c28053: Fix defcustom :type in replace.el (Bug#65920),
Stefan Kangas <=