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:
parent
81753150a7
commit
7d59b9c5a5
1 changed files with 1 additions and 1 deletions
|
@ -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))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue