From 71b23ca7bf2799705d66119a080b8a85972bb2c1 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Thu, 12 Mar 2020 19:03:40 +0000 Subject: [PATCH] Minor issue in defextension macro has been fixed Signed-off-by: Sameer Rahmani --- lib/fg42/extension.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/fg42/extension.el b/lib/fg42/extension.el index 7811156..846cfa6 100644 --- a/lib/fg42/extension.el +++ b/lib/fg42/extension.el @@ -80,7 +80,7 @@ (or (fg42-extension-path extension) ;; TODO: should we extract variables such as `fg42-home' to their ;; dedicated ns in order to avoid the warning ? - (concat fg42-home "lib/extensions/" (fg42-extension-name extension)))) + (concat fg42-home "/lib/extensions/" (fg42-extension-name extension) ".el"))) (defun load-extension (ext) @@ -115,9 +115,9 @@ to them. (declare (doc-string 2) (indent 1)) ;; TODO: Inject the docstring to the current `system' in order ;; to collect it later for `describe-extension' function. - `(defvar name (apply 'make-fg42-extension - :name ,(symbol-name name) - (quote ,args)))) + `(setq ,name (apply 'make-fg42-extension + :name ,(symbol-name name) + (quote ,args)))) (defmacro with-ability (name &rest body)