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)
This commit is contained in:
parent
3820e75d2f
commit
a01024c859
1 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue