From 8c83f28475177dc9d3204d2e8e7e92e9ff4d0d2e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 25 Oct 2024 13:34:53 +0300 Subject: [PATCH] Skip *.dylib files in 'loaddefs-generate' * lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate): Add .dylib to extensions of files that are skipped. (Bug#74001) (cherry picked from commit 8e37b537160c1560048ac53529ef09de7561963c) --- lisp/emacs-lisp/loaddefs-gen.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/loaddefs-gen.el b/lisp/emacs-lisp/loaddefs-gen.el index 50e90cdf94c..bc075fd296d 100644 --- a/lisp/emacs-lisp/loaddefs-gen.el +++ b/lisp/emacs-lisp/loaddefs-gen.el @@ -591,7 +591,7 @@ instead of just updating them with the new/changed autoloads." ;; we don't want to depend on whether Emacs was ;; built with or without modules support, nor ;; what is the suffix for the underlying OS. - (unless (string-match "\\.\\(elc\\|so\\|dll\\)" suf) + (unless (string-match "\\.\\(elc\\|so\\|dll\\|dylib\\)" suf) (push suf tmp))) (concat "\\`[^=.].*" (regexp-opt tmp t) "\\'"))) (files (apply #'nconc -- 2.39.5