mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Restore <D> instead of '.' in grep-find-template
* lisp/cedet/semantic/symref/grep.el (semantic-symref-grep-use-template): Update a comment. * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D> instead of '.' in grep-find-template (bug#20719). (rgrep): Pass nil as the directory to rgrep-default-command. * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the default value for DIR. * lisp/progmodes/xref.el (xref-collect-matches): Drop the workaround.
This commit is contained in:
parent
0a9e3248af
commit
c6ee95ddee
3 changed files with 7 additions and 12 deletions
|
|
@ -125,7 +125,7 @@ GREPPATTERN is the pattern used by grep."
|
|||
greppattern
|
||||
filepattern
|
||||
rootdir)))
|
||||
;; For some reason, my default has no <D> in it.
|
||||
;; http://debbugs.gnu.org/20719
|
||||
(when (string-match "find \\(\\.\\)" cmd)
|
||||
(setq cmd (replace-match rootdir t t cmd 1)))
|
||||
;;(message "New command: %s" cmd)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue