diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2019-05-03 02:48:44 +0300 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2019-05-03 02:48:44 +0300 |
commit | d17ae7f5afb851a26a957bd7d1765aae6d08fe1d (patch) | |
tree | 949e242aac9f98b1efd6aa5cd8aed1d07eba7bc0 /lisp/progmodes | |
parent | 1cd4a5e5e5db5dc26e279002f3a718e190bcec0c (diff) | |
download | emacs-d17ae7f5afb851a26a957bd7d1765aae6d08fe1d.tar.gz emacs-d17ae7f5afb851a26a957bd7d1765aae6d08fe1d.tar.bz2 emacs-d17ae7f5afb851a26a957bd7d1765aae6d08fe1d.zip |
xref--find-ignores-arguments: Return "" if IGNORES is nil
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/xref.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index c7f015b94f0..bf999aeb0d1 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el @@ -1064,7 +1064,8 @@ IGNORES is a list of glob patterns." IGNORES is a list of glob patterns. DIR is an absolute directory, used as the root of the ignore globs." (cl-assert (not (string-match-p "\\`~" dir))) - (when ignores + (if (not ignores) + "" (concat (shell-quote-argument "(") " -path " |