From 2ca13e12eb5a49bd307ae32affc61f363d0b07e2 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Mon, 11 Mar 2024 16:08:29 +0100 Subject: [PATCH] Revert "Use ivy for completion in regions" Using ivy for completing in regions somehow has problems in eshell, so let's not do it. The main use-case for using ivy in region completion is for ledger, so maybe it can only be activated there? This mostly reverts commit 615b285f748386c6d590709fa182845d7af4ec94. --- init.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/init.el b/init.el index dd4e4ee..b687001 100644 --- a/init.el +++ b/init.el @@ -2093,9 +2093,7 @@ Note that this workaround is incomplete, as explained in this comment." completion-category-overrides '((file (styles . (basic partial-completion orderless))) (bookmark (styles . (basic substring orderless))) (imenu (styles . (basic substring orderless))) - (kill-ring (styles . (emacs22 orderless)))) - ;; Use ivy for region completion until I can find an alternative. - completion-in-region-function #'ivy-completion-in-region) + (kill-ring (styles . (emacs22 orderless))))) (use-package helm :ensure t @@ -2146,7 +2144,6 @@ Note that this workaround is incomplete, as explained in this comment." (use-package ivy :commands (ivy-mode) - :autoload (ivy-completion-in-region) :diminish ivy-mode :init (setq ivy-use-virtual-buffers t ivy-magic-tilde nil