summaryrefslogtreecommitdiff
path: root/lisp/cedet/semantic/symref
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2015-06-03 05:44:48 +0300
committerDmitry Gutov <dgutov@yandex.ru>2015-06-03 05:45:15 +0300
commitc6ee95ddeefc17410e15090539d0cb220ab6947c (patch)
tree6e899d28a439298551f946871ea515ab4cf10b24 /lisp/cedet/semantic/symref
parent0a9e3248af3bab4f35da1473a6330292f5857ccd (diff)
downloademacs-c6ee95ddeefc17410e15090539d0cb220ab6947c.tar.gz
emacs-c6ee95ddeefc17410e15090539d0cb220ab6947c.tar.bz2
emacs-c6ee95ddeefc17410e15090539d0cb220ab6947c.zip
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.
Diffstat (limited to 'lisp/cedet/semantic/symref')
-rw-r--r--lisp/cedet/semantic/symref/grep.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/cedet/semantic/symref/grep.el b/lisp/cedet/semantic/symref/grep.el
index 6325eb4a396..cea6d4f07cd 100644
--- a/lisp/cedet/semantic/symref/grep.el
+++ b/lisp/cedet/semantic/symref/grep.el
@@ -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)