mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Use abbreviated, extension-less paths for autodefs
Decreases the size of doom-autoload-file, improves its portability and fixes byte-compilation support for autodefs.
This commit is contained in:
@ -485,7 +485,7 @@ even if it doesn't need reloading!"
|
|||||||
((memq type '(defmacro cl-defmacro))
|
((memq type '(defmacro cl-defmacro))
|
||||||
(push doom-file-form forms)
|
(push doom-file-form forms)
|
||||||
sexp)
|
sexp)
|
||||||
((make-autoload sexp path)))
|
((make-autoload sexp (abbreviate-file-name (file-name-sans-extension path)))))
|
||||||
forms)
|
forms)
|
||||||
(push `(put ',name 'doom-module ',origin) forms))))
|
(push `(put ',name 'doom-module ',origin) forms))))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user