Minor reformat & refactor keyword intern
This commit is contained in:
parent
fbdbd26851
commit
9cc190adc9
1 changed files with 2 additions and 3 deletions
|
@ -149,8 +149,7 @@ modified."
|
||||||
;; Replace autoload paths (only for module autoloads) with
|
;; Replace autoload paths (only for module autoloads) with
|
||||||
;; absolute paths for faster resolution during load and
|
;; absolute paths for faster resolution during load and
|
||||||
;; simpler `load-path'
|
;; simpler `load-path'
|
||||||
(let ((load-path (append doom-modules-dirs
|
(let ((load-path (append doom-modules-dirs load-path))
|
||||||
load-path))
|
|
||||||
cache)
|
cache)
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(while (re-search-forward "^\\s-*(autoload\\s-+'[^ ]+\\s-+\"\\([^\"]*\\)\"" nil t)
|
(while (re-search-forward "^\\s-*(autoload\\s-+'[^ ]+\\s-+\"\\([^\"]*\\)\"" nil t)
|
||||||
|
@ -283,7 +282,7 @@ If RECOMPILE-P is non-nil, only recompile out-of-date files."
|
||||||
(push module targets))
|
(push module targets))
|
||||||
((pred (string-match "^\\([^/]+\\)/\\([^/]+\\)$"))
|
((pred (string-match "^\\([^/]+\\)/\\([^/]+\\)$"))
|
||||||
(push (doom-module-locate-path
|
(push (doom-module-locate-path
|
||||||
(intern (format ":%s" (match-string 1 module)))
|
(doom-keyword-intern (match-string 1 module))
|
||||||
(intern (match-string 2 module)))
|
(intern (match-string 2 module)))
|
||||||
targets))))
|
targets))))
|
||||||
(cl-block 'byte-compile
|
(cl-block 'byte-compile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue