]> git.eshelyaron.com Git - emacs.git/commit
Handle project--files-in-directory finding no files better
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 30 Mar 2020 20:16:03 +0000 (23:16 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 30 Mar 2020 20:16:27 +0000 (23:16 +0300)
commitac3da1dd9626bc475e78b18c0b438435790e8926
treeb7ad4c78d7d24e7c3b9324e90a96ed1b7e715b5e
parent650a664ccd1e801f869f64d441b65db7dcb395f0
Handle project--files-in-directory finding no files better

* lisp/progmodes/project.el (project--find-regexp-in-files):
Signal user-error when passed an empty list of files.

* lisp/progmodes/xref.el (xref-matches-in-files):
Make sure FILES is not empty.
lisp/progmodes/project.el
lisp/progmodes/xref.el