Fix custom-tests with non-GNU grep
* admin/cus-test.el (cus-test-get-lisp-files): Add path argument required by standard grep (BSD, for instance).
This commit is contained in:
parent
9f30a6b1a4
commit
4d57124fc8
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ Optional argument ALL non-nil means list all (non-obsolete) Lisp files."
|
|||
;; Hack to remove leading "./".
|
||||
(mapcar (lambda (e) (substring e 2))
|
||||
(apply 'process-lines find-program
|
||||
"-name" "obsolete" "-prune" "-o"
|
||||
"." "-name" "obsolete" "-prune" "-o"
|
||||
"-name" "[^.]*.el" ; ignore .dir-locals.el
|
||||
(if all
|
||||
'("-print")
|
||||
|
|
Loading…
Add table
Reference in a new issue