[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 11cb810356 32/42: Fix the behaviour of 'byte-compile-ignore-files
From: |
Philip Kaludercic |
Subject: |
master 11cb810356 32/42: Fix the behaviour of 'byte-compile-ignore-files' |
Date: |
Thu, 17 Nov 2022 14:56:24 -0500 (EST) |
branch: master
commit 11cb8103565abfd67e3ba18d638d63a4fc5a0970
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Fix the behaviour of 'byte-compile-ignore-files'
* lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Negate the
'string-match-p' check. (Bug#59139)
---
lisp/emacs-lisp/bytecomp.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index c685e5087f..c81c42e042 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -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)
- master aadf07f5b8 05/42: Autoload 'package-vc-install-selected-packages', (continued)
- master aadf07f5b8 05/42: Autoload 'package-vc-install-selected-packages', Philip Kaludercic, 2022/11/17
- master 9f4a433b27 12/42: Fix generation of documentation for source packages, Philip Kaludercic, 2022/11/17
- master aa56e50fe2 23/42: Raise 'wrong-type-argument' when installing package nil, Philip Kaludercic, 2022/11/17
- master d0ea38b5fe 27/42: Have 'vc-prepare-patch' handle prefix arguments., Philip Kaludercic, 2022/11/17
- master 2ed115fc3c 21/42: Fix indefinite loading of asynchronous downloads, Philip Kaludercic, 2022/11/17
- master a6cd44734d 18/42: Remove unused variable in 'package-vc--unpack', Philip Kaludercic, 2022/11/17
- master fd4da9151f 28/42: * lisp/vc/vc.el (vc-default-last-change): Use 'vc-call', Philip Kaludercic, 2022/11/17
- master c8e5069e6d 24/42: Add new command 'package-vc-update-all', Philip Kaludercic, 2022/11/17
- master 345bfd376e 31/42: Add missing elpa-package.eld to package test resources, Philip Kaludercic, 2022/11/17
- master 4aee4cde3a 26/42: Explain that 'package-vc-install' doesn't remove tarball packages, Philip Kaludercic, 2022/11/17
- master 11cb810356 32/42: Fix the behaviour of 'byte-compile-ignore-files',
Philip Kaludercic <=
- master 874d8a418f 35/42: Only fetch elpa-packages.eld when necessary, Philip Kaludercic, 2022/11/17
- master 5b8f165f75 38/42: Fix issues related to 'package-vc-install-from-checkout', Philip Kaludercic, 2022/11/17
- master fb6d62f881 41/42: ; Clarify what a package specification is, Philip Kaludercic, 2022/11/17
- master 0b77909cac 39/42: Avoid duplicate source packages in 'package-alist', Philip Kaludercic, 2022/11/17
- master db28ba29dd 40/42: Ensure 'package-vc-prepare-patch' runs in the right directory, Philip Kaludercic, 2022/11/17
- master 17889dd828 42/42: * lisp/emacs-lisp/package-vc.el: Autoload package-vc-update{, -all}, Philip Kaludercic, 2022/11/17