Skip to content

Commit

Permalink
Update corfu shim
Browse files Browse the repository at this point in the history
  • Loading branch information
DogLooksGood committed Nov 7, 2024
1 parent 532b302 commit 36c86fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion meow-shims.el
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,14 @@ Argument ENABLE non-nil means turn on."
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; corfu

(declare-function corfu-quit "corfu")

(defvar meow--corfu-setup nil
"Whether already setup corfu.")

(defun meow--corfu-maybe-abort-advice ()
"Adviced for `meow-insert-exit'."
(when corfu-mode (corfu-quit)))
(when (bound-and-true-p corfu-mode) (corfu-quit)))

(defun meow--setup-corfu (enable)
"Setup for corfu.
Expand Down

0 comments on commit 36c86fb

Please sign in to comment.