Update config.lisp

This commit is contained in:
Masataro Asai 2017-11-12 16:38:42 +09:00 committed by GitHub
parent a6164f0bc0
commit 6d6b792fe9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,8 @@
(:documentation "Condition to signal when the plugin is misconfigured."))
(defun enable-plugin (name args)
"Given a plugin, NAME, compile+load it and call its ENABLE function with ARGS."
"Given a plugin, NAME, search it from the local plugins/ directory and (if it fails) the coleslaw's plugins/ directory,
compile+load it and call its ENABLE function with ARGS."
(flet ((plugin-path (sym)
(if (probe-file (repo-path "plugins/~(~A~).lisp" sym))
(repo-path "plugins/~(~A~)" sym)