Commit d17ae7f5 authored by Dmitry Gutov's avatar Dmitry Gutov
Browse files

xref--find-ignores-arguments: Return "" if IGNORES is nil

parent 1cd4a5e5
Pipeline #1537 failed with stage
in 49 minutes and 16 seconds
......@@ -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)
(shell-quote-argument "(")
" -path "
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment