summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorJim Porter <jporterbugs@gmail.com>2023-08-05 21:26:14 -0700
committerJim Porter <jporterbugs@gmail.com>2023-08-05 21:26:14 -0700
commit0a6a25320eb671816087164b17e6ecb68632303c (patch)
treeb5f1b42edfff1d3399e1dc9f4e1e4c57b8333d92 /lisp/emacs-lisp
parent1bf92d91950271c497675d3a7dc418fc6bf75175 (diff)
parent1e8322bb26e4945de460780168732250bbd083d0 (diff)
downloademacs-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')
-rw-r--r--lisp/emacs-lisp/bytecomp.el4
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)