emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 4d57124: Fix custom-tests with non-GNU grep


From: Mattias Engdegård
Subject: master 4d57124: Fix custom-tests with non-GNU grep
Date: Tue, 29 Sep 2020 06:22:17 -0400 (EDT)

branch: master
commit 4d57124fc8833f63e3f3cfb938cec99bd7f8ff81
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    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 cee8c19..b4e4b42 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]