summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorNicholas Vollmer <iarchivedmywholelife@gmail.com>2022-11-07 19:57:34 -0500
committerPhilip Kaludercic <philipk@posteo.net>2022-11-09 09:50:38 +0100
commita01024c859fd98a4a330a9b627dc11232afc6ad0 (patch)
treebf94d7fd0f628ff5e03d4f157822fa6b04421b85 /lisp/emacs-lisp
parent3820e75d2fe1b5c446d83b1abbde8f544201de35 (diff)
downloademacs-a01024c859fd98a4a330a9b627dc11232afc6ad0.tar.gz
emacs-a01024c859fd98a4a330a9b627dc11232afc6ad0.tar.bz2
emacs-a01024c859fd98a4a330a9b627dc11232afc6ad0.zip
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)
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/bytecomp.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 4d258dab96e..c685e5087f8 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)