projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1cd4a5e
)
xref--find-ignores-arguments: Return "" if IGNORES is nil
author
Dmitry Gutov
<dgutov@yandex.ru>
Thu, 2 May 2019 23:48:44 +0000
(
02:48
+0300)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Thu, 2 May 2019 23:48:44 +0000
(
02:48
+0300)
lisp/progmodes/xref.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/xref.el
b/lisp/progmodes/xref.el
index c7f015b94f03014e656a09cea12d992d80f34542..bf999aeb0d1fadf8b793e718d702e0f09fb6c465 100644
(file)
--- 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 "