Skip to content

Commit

Permalink
refactor(corfu): canonize hook function name
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 1, 2023
1 parent eaf4581 commit cbf53a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/me-completion.el
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ This depends on `+cape-hosts' and `+cape-global-capes'."
(use-package corfu
:straight t
:hook (minemacs-after-startup . global-corfu-mode)
:hook (eshell-mode . +corfu-less-intrusive)
:hook (eshell-mode . +corfu-less-intrusive-h)
:hook (minibuffer-setup . +corfu-enable-in-minibuffer-h)
:init
(add-to-list
Expand All @@ -99,7 +99,7 @@ This depends on `+cape-hosts' and `+cape-global-capes'."
(setq-local corfu-auto nil) ; Enable/disable auto completion
(corfu-mode 1)))

(defun +corfu-less-intrusive ()
(defun +corfu-less-intrusive-h ()
(setq-local corfu-quit-at-boundary t
corfu-quit-no-match t
corfu-auto nil)
Expand Down

0 comments on commit cbf53a7

Please sign in to comment.