From 9cc190adc9b799270c81b550096d3655710ab9ca Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 10 Jun 2018 17:26:20 +0200 Subject: [PATCH] Minor reformat & refactor keyword intern --- core/autoload/modules.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/autoload/modules.el b/core/autoload/modules.el index d0cddeb77..663734743 100644 --- a/core/autoload/modules.el +++ b/core/autoload/modules.el @@ -149,8 +149,7 @@ modified." ;; Replace autoload paths (only for module autoloads) with ;; absolute paths for faster resolution during load and ;; simpler `load-path' - (let ((load-path (append doom-modules-dirs - load-path)) + (let ((load-path (append doom-modules-dirs load-path)) cache) (save-excursion (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)) ((pred (string-match "^\\([^/]+\\)/\\([^/]+\\)$")) (push (doom-module-locate-path - (intern (format ":%s" (match-string 1 module))) + (doom-keyword-intern (match-string 1 module)) (intern (match-string 2 module))) targets)))) (cl-block 'byte-compile