]> git.eshelyaron.com Git - emacs.git/commit
Support old BSD find and "root dir symlink" better
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 7 Jun 2021 01:52:30 +0000 (04:52 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 7 Jun 2021 01:52:30 +0000 (04:52 +0300)
commit45bdc37c8127142504f5f93bcb1327a635f6da1b
treea5a1f1b084f09f7d48a08da9bd8cfb1f3650b6af
parent6329e70460137e34abbc7590c5892623547f9b26
Support old BSD find and "root dir symlink" better

* lisp/progmodes/grep.el (grep-compute-defaults):
Add '-H' to grep-find-template (bug#48471).

* lisp/cedet/semantic/symref/grep.el (semantic-symref-perform-search):
Pass the root directory name without the trailing slash.

* lisp/progmodes/xref.el (xref-matches-in-directory): Ditto.

* test/lisp/progmodes/xref-tests.el (xref--xref-file-name-display-is-abs)
(xref--xref-file-name-display-is-relative-to-project-root):
Make tests more strict again.
lisp/cedet/semantic/symref/grep.el
lisp/progmodes/grep.el
lisp/progmodes/xref.el
test/lisp/progmodes/xref-tests.el