diff options
author | Jim Porter <jporterbugs@gmail.com> | 2023-08-05 21:26:14 -0700 |
---|---|---|
committer | Jim Porter <jporterbugs@gmail.com> | 2023-08-05 21:26:14 -0700 |
commit | 0a6a25320eb671816087164b17e6ecb68632303c (patch) | |
tree | b5f1b42edfff1d3399e1dc9f4e1e4c57b8333d92 /lisp/emacs-lisp/bytecomp.el | |
parent | 1bf92d91950271c497675d3a7dc418fc6bf75175 (diff) | |
parent | 1e8322bb26e4945de460780168732250bbd083d0 (diff) | |
download | emacs-0a6a25320eb671816087164b17e6ecb68632303c.tar.gz emacs-0a6a25320eb671816087164b17e6ecb68632303c.tar.bz2 emacs-0a6a25320eb671816087164b17e6ecb68632303c.zip |
Merge from origin/emacs-29
1e8322bb26e Fix handling of 'byte-compile-ignore-files' when nil
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index f0656628236..f6ba6ff9ea0 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -1976,7 +1976,9 @@ also be compiled." (let ((directories (list default-directory)) (default-directory default-directory) (ignore-files-regexp - (mapconcat #'identity byte-compile-ignore-files "\\|")) + (if byte-compile-ignore-files + (mapconcat #'identity byte-compile-ignore-files "\\|") + regexp-unmatchable)) (skip-count 0) (fail-count 0) (file-count 0) |