diff options
author | Jonas Bernoulli <jonas@bernoul.li> | 2022-07-14 16:20:48 +0200 |
---|---|---|
committer | Jonas Bernoulli <jonas@bernoul.li> | 2024-07-06 17:37:23 +0200 |
commit | 9197acbdbde392fc53ad0f2be2cef83e452f1d28 (patch) | |
tree | 05ea60f4a1487c28f8d908525672474249f0eb31 /elisp | |
parent | b57fdc8fde91734b34b7ad1c2f1a06b46a1f5822 (diff) | |
download | geiser-9197acbdbde392fc53ad0f2be2cef83e452f1d28.tar.gz geiser-9197acbdbde392fc53ad0f2be2cef83e452f1d28.tar.bz2 |
Define geiser--feature-list as a variable
Defining it as a macro, as it was done from the start, is just
weird.
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-reload.el | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/elisp/geiser-reload.el b/elisp/geiser-reload.el index 678e374..4f5f964 100644 --- a/elisp/geiser-reload.el +++ b/elisp/geiser-reload.el @@ -21,36 +21,36 @@ ;;; Reload: -(defmacro geiser--features-list () - (quote '( - geiser-mode - geiser-repl - geiser-capf - geiser-doc - geiser-xref - geiser-compile - geiser-debug - geiser-completion - geiser-autodoc - geiser-edit - geiser-eval - geiser-connection - geiser-syntax - geiser-menu - geiser-inf - geiser-impl - geiser-image - geiser-custom - geiser-log - geiser-popup - geiser-base - geiser - ))) +(defconst geiser--features-list + '( + geiser-mode + geiser-repl + geiser-capf + geiser-doc + geiser-xref + geiser-compile + geiser-debug + geiser-edit + geiser-completion + geiser-autodoc + geiser-eval + geiser-connection + geiser-syntax + geiser-menu + geiser-inf + geiser-impl + geiser-image + geiser-custom + geiser-log + geiser-popup + geiser-base + geiser + )) (defun geiser-unload () "Unload all Geiser modules." (interactive) - (let ((fs (geiser--features-list))) + (let ((fs geiser--features-list)) (unload-feature 'geiser-reload t) (dolist (f fs) (when (featurep f) (unload-feature f t))) |