xref--find-ignores-arguments: Return "" if IGNORES is nil
This commit is contained in:
parent
1cd4a5e5e5
commit
d17ae7f5af
1 changed files with 2 additions and 1 deletions
|
@ -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 "
|
||||
|
|
Loading…
Add table
Reference in a new issue