branch: externals/vertico-posframe
commit de971ab58b56c2a9a10b9e61e4261950b66e809d
Author: Pablo Castellanos <[email protected]>
Commit: Feng Shu <[email protected]>
Update toggle function for vertico-multiform support
---
vertico-posframe.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/vertico-posframe.el b/vertico-posframe.el
index 1b0f68b1db..d862c3e94a 100644
--- a/vertico-posframe.el
+++ b/vertico-posframe.el
@@ -7,7 +7,7 @@
;; URL: https://github.com/tumashu/vertico-posframe
;; Version: 0.9.1
;; Keywords: abbrev, convenience, matching, vertico
-;; Package-Requires: ((emacs "26.0") (posframe "1.4.0") (vertico "2.5"))
+;; Package-Requires: ((emacs "26.0") (posframe "1.4.0") (vertico "2.6"))
;; This file is part of GNU Emacs.
@@ -212,9 +212,7 @@ vertico-posframe works with vertico multiform toggle."
(mode (intern (format "vertico-%s-mode" name)))
(toggle (intern (format "vertico-multiform-%s" name))))
(defalias toggle
- (lambda ()
- (interactive)
- (vertico-multiform-vertical mode))
+ (lambda () (interactive) (vertico-multiform--toggle-mode mode))
(format "Toggle the %s display." name))
(push mode vertico-multiform--display-modes)
(put toggle 'completion-predicate #'vertico--command-p)