aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshoshin <shoshin@cicadas.surf>2022-07-02 12:46:50 -0500
committershoshin <shoshin@cicadas.surf>2022-07-02 12:46:50 -0500
commit7c6f0f0e368b991f6eee9e256c77904c59da4c4e (patch)
tree94571deffc4faa881f5e42f38c40e19f4716c940
parent263032646f5a73aeb3a60a5035b53a20377e4b83 (diff)
Fix: with-eval-after-load [consult] custom command
-rw-r--r--shoshin-config.el16
-rw-r--r--shoshin-config.org3
2 files changed, 17 insertions, 2 deletions
diff --git a/shoshin-config.el b/shoshin-config.el
index 56caa1a..ec0c504 100644
--- a/shoshin-config.el
+++ b/shoshin-config.el
@@ -29,7 +29,8 @@
(define-key xah-fly-leader-key-map (kbd "f") #'consult-buffer)
(define-key xah-fly-command-map (kbd "n") #'consult-line)
-(consult-customize consult-theme :preview-key '(:debounce 0.5 any))
+(with-eval-after-load 'consult
+ (consult-customize consult-theme :preview-key '(:debounce 0.5 any)))
(package-install 'embark)
@@ -108,3 +109,16 @@
(mapc #'package-install my-chosen-themes)
(package-install 'windresize)
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(package-selected-packages
+ '(plz corfu xah-fly-keys windresize which-key web-server vertico srht sly markdown-mode marginalia magit json-mode htmlize embark dracula-theme devdocs darkroom cyberpunk-theme corfu-terminal corfu-popup consult)))
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ )
diff --git a/shoshin-config.org b/shoshin-config.org
index 53a57e2..7f34b02 100644
--- a/shoshin-config.org
+++ b/shoshin-config.org
@@ -282,7 +282,8 @@ this way you can scroll / narrow your list of themes without the colors
changing with every keypress.
#+begin_src emacs-lisp
- (consult-customize consult-theme :preview-key '(:debounce 0.5 any))
+ (with-eval-after-load 'consult
+ (consult-customize consult-theme :preview-key '(:debounce 0.5 any)))
#+end_src
*** TODO consult-project-buffer