]> git.eshelyaron.com Git - emacs.git/commitdiff
Skip *.dylib files in 'loaddefs-generate'
authorEli Zaretskii <eliz@gnu.org>
Fri, 25 Oct 2024 10:34:53 +0000 (13:34 +0300)
committerEshel Yaron <me@eshelyaron.com>
Tue, 29 Oct 2024 09:49:22 +0000 (10:49 +0100)
* 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

index 50e90cdf94c7ffa0bdc53d20cb61fc3cc2c7083e..bc075fd296deb2dcb0242d2015ee0e0fc3d3ca2a 100644 (file)
@@ -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