dotemacs

My Emacs configuration
git clone git://git.entf.net/dotemacs
Log | Files | Refs | LICENSE

commit eecadf63353fa494310d7e66d23e1bededdddf70
parent 663564b6d076131635b45a8839db20f73f8ace71
Author: Lukas Henkel <lh@entf.net>
Date:   Thu, 12 May 2022 20:17:23 +0200

Fix consult with empty text

Diffstat:
Minit.el | 13++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/init.el b/init.el @@ -182,6 +182,16 @@ (advice-add #'notmuch-read-tag-changes :filter-return #'lh/notmuch-read-tag-changes-trim) +;; Fixes bug in minibuffer.el that causes consult to not work without any text +;; https://github.com/minad/consult/issues/566 +;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55205 +(defun lh/advice-fix-minibuffer-consult (func &rest args) + (apply func (list (car args) + (cadr args) + (copy-sequence (caddr args))))) + +(advice-add #'completion--replace :around #'lh/advice-fix-minibuffer-consult) + (setq completion-ignore-case t) (custom-set-variables @@ -216,8 +226,9 @@ '(frame-resize-pixelwise t) '(global-aggressive-indent-mode t) '(global-company-mode t) + '(ignored-local-variable-values '((sly-load-failed-fasl . ask))) '(indent-tabs-mode nil) - '(inferior-lisp-program "sbcl") + '(inferior-lisp-program "ros run") '(kept-new-versions 10) '(kept-old-versions 5) '(marginalia-mode t)