emacs-diffs
[Top][All Lists]
Advanced

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

master a01024c859: bytecomp.el (byte-recompile-directory): Fix negated i


From: Philip Kaludercic
Subject: master a01024c859: bytecomp.el (byte-recompile-directory): Fix negated ignore logic
Date: Wed, 9 Nov 2022 03:51:11 -0500 (EST)

branch: master
commit a01024c859fd98a4a330a9b627dc11232afc6ad0
Author: Nicholas Vollmer <iarchivedmywholelife@gmail.com>
Commit: Philip Kaludercic <philipk@posteo.net>

    bytecomp.el (byte-recompile-directory): Fix negated ignore logic
    
    Previous logic would only compile files which matched the
    byte-compile-ignore-files regular expression.  (Bug#59115)
---
 lisp/emacs-lisp/bytecomp.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 4d258dab96..c685e5087f 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1955,9 +1955,9 @@ also be compiled."
                         (not (auto-save-file-name-p source))
                         (not (member source (dir-locals--all-files directory)))
                         ;; File is requested to be ignored
-                        (string-match-p
-                         (regexp-opt byte-compile-ignore-files)
-                         source))
+                        (not (string-match-p
+                              (regexp-opt byte-compile-ignore-files)
+                              source)))
                    (progn (cl-incf
                            (pcase (byte-recompile-file source force arg)
                              ('no-byte-compile skip-count)



reply via email to

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