aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/vc
diff options
context:
space:
mode:
authorRobert Pluim2017-11-17 15:39:02 +0200
committerEli Zaretskii2017-11-17 15:39:02 +0200
commit104f3e51fe6d22cf0ee280509df1b133cb8e1f89 (patch)
tree352e7a415af879a2e3ae4df6b2d8c4a85abdcdb8 /lisp/vc
parentd8e0951d5f680aa7f688416eec19a1f062241f44 (diff)
downloademacs-104f3e51fe6d22cf0ee280509df1b133cb8e1f89.tar.gz
emacs-104f3e51fe6d22cf0ee280509df1b133cb8e1f89.zip
Document how to enter whitespace when using grep-read-files
* lisp/progmodes/grep.el (lgrep, rgrep, grep-read-files): Explain how to enter whitespace when using grep-read-files. (Bug#29303) * lisp/progmodes/project.el (project-find-regexp): Likewise. * lisp/vc/vc-git.el (vc-git-grep): Likewise.
Diffstat (limited to 'lisp/vc')
-rw-r--r--lisp/vc/vc-git.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index ed85603f828..060072ea54d 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -1407,7 +1407,9 @@ This requires git 1.8.4 or later, for the \"-L\" option of \"git log\"."
1407 "Run git grep, searching for REGEXP in FILES in directory DIR. 1407 "Run git grep, searching for REGEXP in FILES in directory DIR.
1408The search is limited to file names matching shell pattern FILES. 1408The search is limited to file names matching shell pattern FILES.
1409FILES may use abbreviations defined in `grep-files-aliases', e.g. 1409FILES may use abbreviations defined in `grep-files-aliases', e.g.
1410entering `ch' is equivalent to `*.[ch]'. 1410entering `ch' is equivalent to `*.[ch]'. As whitespace triggers
1411completion when entering a pattern, including it requires
1412quoting, e.g. `\\[quoted-insert]<space>'.
1411 1413
1412With \\[universal-argument] prefix, you can edit the constructed shell command line 1414With \\[universal-argument] prefix, you can edit the constructed shell command line
1413before it is executed. 1415before it is executed.