Fix the behaviour of 'byte-compile-ignore-files'
* lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Negate the 'string-match-p' check. (Bug#59139)
This commit is contained in:
parent
345bfd376e
commit
11cb810356
1 changed files with 3 additions and 4 deletions
|
@ -1941,11 +1941,10 @@ also be compiled."
|
|||
;; This file is a subdirectory. Handle them differently.
|
||||
(or (null arg) (eq 0 arg)
|
||||
(y-or-n-p (concat "Check " source "? ")))
|
||||
(setq directories (nconc directories (list source)))
|
||||
;; Directory 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))
|
||||
(setq directories (nconc directories (list source))))
|
||||
;; It is an ordinary file. Decide whether to compile it.
|
||||
(if (and (string-match emacs-lisp-file-regexp source)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue