summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/loaddefs-gen.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2024-10-25 13:34:53 +0300
committerEli Zaretskii <eliz@gnu.org>2024-10-25 13:34:53 +0300
commit8e37b537160c1560048ac53529ef09de7561963c (patch)
treeb4d4cf55afc296b2e9fc58afd9da43700c4fb360 /lisp/emacs-lisp/loaddefs-gen.el
parent0d8d5f10ffc62da35c4d317ed4363995e5e62f65 (diff)
downloademacs-8e37b537160c1560048ac53529ef09de7561963c.tar.gz
emacs-8e37b537160c1560048ac53529ef09de7561963c.tar.bz2
emacs-8e37b537160c1560048ac53529ef09de7561963c.zip
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)
Diffstat (limited to 'lisp/emacs-lisp/loaddefs-gen.el')
-rw-r--r--lisp/emacs-lisp/loaddefs-gen.el2
1 files changed, 1 insertions, 1 deletions
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