diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-10-17 20:49:46 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-10-17 20:49:46 +0100 |
commit | f972147a4a924f91502611bfc1f58135b7b71cf0 (patch) | |
tree | 3d085f9b88fa8654bb1ccab534ad71dcb5e6970e | |
parent | 55526114ef300cd7b82dbbc7bd7e402e7bf3b5b4 (diff) | |
download | dotfiles-f972147a4a924f91502611bfc1f58135b7b71cf0.tar.gz |
Fix use-extension macro
-rw-r--r-- | .emacs.d/lisp/init-packages.el | 4 |
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)) |