diff --git a/src/config.lisp b/src/config.lisp index 1d55c9c..15b5b1f 100644 --- a/src/config.lisp +++ b/src/config.lisp @@ -49,7 +49,9 @@ (defun enable-plugin (name args) "Given a plugin, NAME, compile+load it and call its ENABLE function with ARGS." (flet ((plugin-path (sym) - (app-path "plugins/~(~A~)" sym)) + (if (probe-file (repo-path "plugins/~(~A~).lisp" sym)) + (repo-path "plugins/~(~A~)" sym) + (app-path "plugins/~(~A~)" sym))) (plugin-package (sym) (format nil "~:@(coleslaw-~A~)" sym))) (let ((file (plugin-path name)))