about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-09-02T14·24+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-09-02T14·24+0100
commit97c2706821c8279ea14afaffa2546e0b38e45ca3 (patch)
treed1852ce39e1b6498f5e0ff9f593c9c98cbbc8596
parentf089f3c550af5237e6748913f21084115499782d (diff)
Prevent warning during Emacs initialization
Now that my `script.el` is behaving as expected (wahoo!), start linting away
anything that shows up in the `*Warnings*` and `*Errors*` buffers.
-rw-r--r--emacs/.emacs.d/wpc/wpc-ui.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-ui.el b/emacs/.emacs.d/wpc/wpc-ui.el
index 5d11521baf9b..cce217f03a18 100644
--- a/emacs/.emacs.d/wpc/wpc-ui.el
+++ b/emacs/.emacs.d/wpc/wpc-ui.el
@@ -92,7 +92,8 @@
   :config
   (counsel-mode t)
   (ivy-mode t)
-  (al-set! #'counsel-M-x "" ivy-initial-inputs-alist)
+  ;; Remove preceding "^" from ivy prompts
+  (setq ivy-initial-inputs-alist nil)
   ;; prefer using `helpful' variants
   (progn
     (setq counsel-describe-function-function #'helpful-callable)