about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-10-17 20:49:46 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-10-17 20:49:46 +0100
commitf972147a4a924f91502611bfc1f58135b7b71cf0 (patch)
tree3d085f9b88fa8654bb1ccab534ad71dcb5e6970e /.emacs.d/lisp
parent55526114ef300cd7b82dbbc7bd7e402e7bf3b5b4 (diff)
downloaddotfiles-f972147a4a924f91502611bfc1f58135b7b71cf0.tar.gz
Fix use-extension macro
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-packages.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-packages.el b/.emacs.d/lisp/init-packages.el
index 700d666..cbfdb25 100644
--- a/.emacs.d/lisp/init-packages.el
+++ b/.emacs.d/lisp/init-packages.el
@@ -39,14 +39,14 @@
 (use-feature straight-x
   :commands (straight-x-fetch-all))
 
-;; useful for corfu and vertico extenions
+;; useful for corfu and vertico extensions
 (defmacro use-extension (pkg name &rest args)
   "Like `use-package', but for a package extension.
 `PKG' is the name of the package, `NAME' and `ARGS' are as with `use-package'"
   (declare (indent defun))
   `(use-package ,name
      :straight nil
-     :after pkg
+     :after ,pkg
      :demand t
      ,@args))