Skip to content

Commit

Permalink
fix(core): don't alias loaddefs-generate to make-directory-autoloads
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Dec 19, 2023
1 parent 9a1e46d commit 00b241f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion core/backports/core.el
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ plain variables. This means that `setopt' will execute any

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


(provide 'me-backports-29)
Expand Down
3 changes: 2 additions & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@
"Generate MinEmacs' loaddefs file."
(interactive)
(when (file-exists-p minemacs-loaddefs-file) (delete-file minemacs-loaddefs-file))
(loaddefs-generate (list minemacs-core-dir minemacs-elisp-dir minemacs-extras-dir) minemacs-loaddefs-file))
(apply (if (fboundp 'loaddefs-generate) #'loaddefs-generate #'make-directory-autoloads)
(list (list minemacs-core-dir minemacs-elisp-dir minemacs-extras-dir) minemacs-loaddefs-file)))

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

0 comments on commit 00b241f

Please sign in to comment.