[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 811f589: Doc string (and defcustom type) fix for grep-find-comman
From: |
Lars Ingebrigtsen |
Subject: |
master 811f589: Doc string (and defcustom type) fix for grep-find-command |
Date: |
Sat, 22 Aug 2020 10:27:25 -0400 (EDT) |
branch: master
commit 811f5890f3ad9b35464c5ccd818091abcaf6803d
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Doc string (and defcustom type) fix for grep-find-command
* lisp/progmodes/grep.el (grep-find-command): Add the cons type to
the defcustom, and document it (bug#36113). (It has always been a
valid value for the variable.)
---
lisp/progmodes/grep.el | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 7731be5..287f43d 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -168,8 +168,14 @@ This is done to disambiguate file names in `grep's output."
"The default find command for \\[grep-find].
In interactive usage, the actual value of this variable is set up
by `grep-compute-defaults'; to change the default value, use
-\\[customize] or call the function `grep-apply-setting'."
+\\[customize] or call the function `grep-apply-setting'.
+
+This variable can either be a string, or a cons on the
+form (COMMAND . POSITION). In the latter case, COMMAND will be
+used as the default command, and point will be placed on POSITION
+for easier editing."
:type '(choice string
+ (cons string integer)
(const :tag "Not Set" nil))
:set #'grep-apply-setting)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 811f589: Doc string (and defcustom type) fix for grep-find-command,
Lars Ingebrigtsen <=