From 4d57124fc8833f63e3f3cfb938cec99bd7f8ff81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Tue, 29 Sep 2020 11:24:38 +0200 Subject: [PATCH] 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). --- admin/cus-test.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/cus-test.el b/admin/cus-test.el index cee8c19ba12..b4e4b426515 100644 --- a/admin/cus-test.el +++ b/admin/cus-test.el @@ -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") -- 2.39.5