[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/meow 36c86fb2e2: Update corfu shim
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/meow 36c86fb2e2: Update corfu shim |
Date: |
Wed, 6 Nov 2024 22:00:07 -0500 (EST) |
branch: elpa/meow
commit 36c86fb2e2801e79c18cd17f769b2cbe89476149
Author: DogLooksGood <doglooksgood@hotmail.com>
Commit: DogLooksGood <doglooksgood@hotmail.com>
Update corfu shim
---
meow-shims.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meow-shims.el b/meow-shims.el
index d8d86eb247..5b5c81c417 100644
--- a/meow-shims.el
+++ b/meow-shims.el
@@ -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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/meow 36c86fb2e2: Update corfu shim,
ELPA Syncer <=