Skip to content

Commit 00b241f

Browse files
committed
fix(core): don't alias loaddefs-generate to make-directory-autoloads
1 parent 9a1e46d commit 00b241f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/backports/core.el

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ plain variables. This means that `setopt' will execute any
127127

128128
;; Function aliases
129129
(defalias 'string-split #'split-string)
130-
(defalias 'loaddefs-generate #'make-directory-autoloads)
131130

132131

133132
(provide 'me-backports-29)

init.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@
150150
"Generate MinEmacs' loaddefs file."
151151
(interactive)
152152
(when (file-exists-p minemacs-loaddefs-file) (delete-file minemacs-loaddefs-file))
153-
(loaddefs-generate (list minemacs-core-dir minemacs-elisp-dir minemacs-extras-dir) minemacs-loaddefs-file))
153+
(apply (if (fboundp 'loaddefs-generate) #'loaddefs-generate #'make-directory-autoloads)
154+
(list (list minemacs-core-dir minemacs-elisp-dir minemacs-extras-dir) minemacs-loaddefs-file)))
154155

155156
;; Some of MinEmacs commands and libraries are defined to be auto-loaded. In
156157
;; particular, these in the `minemacs-core-dir', `minemacs-elisp-dir', and

0 commit comments

Comments
 (0)