Fix handling of 'byte-compile-ignore-files' when nil
Before this fix, when 'byte-compile-ignore-files' was nil, 'byte-recompile-directory' would ignore every file (bug#64985). * lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Handle case when 'byte-compile-ignore-files' is nil.
This commit is contained in:
parent
2695af297e
commit
1e8322bb26
1 changed files with 3 additions and 1 deletions
|
@ -1923,7 +1923,9 @@ also be compiled."
|
||||||
(let ((directories (list default-directory))
|
(let ((directories (list default-directory))
|
||||||
(default-directory default-directory)
|
(default-directory default-directory)
|
||||||
(ignore-files-regexp
|
(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)
|
(skip-count 0)
|
||||||
(fail-count 0)
|
(fail-count 0)
|
||||||
(file-count 0)
|
(file-count 0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue