[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico-posframe 8eba815f6b 1/2: Fix: Error thrown when
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico-posframe 8eba815f6b 1/2: Fix: Error thrown when attempting to narrow consult results. #15 |
Date: |
Thu, 14 Apr 2022 23:57:58 -0400 (EDT) |
branch: externals/vertico-posframe
commit 8eba815f6b6937e3f7700549f333f12629635034
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Fix: Error thrown when attempting to narrow consult results. #15
* vertico-posframe.el (vertico-posframe--show-minibuffer-p): check
this-command symbol or not.
---
vertico-posframe.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vertico-posframe.el b/vertico-posframe.el
index d4f07a85e2..8f2a9a9553 100644
--- a/vertico-posframe.el
+++ b/vertico-posframe.el
@@ -255,7 +255,9 @@ is called, window-point will be set to WINDOW-POINT."
(lambda (rule)
(cond ((functionp rule)
(funcall rule))
- ((and rule (stringp rule))
+ ((and rule
+ (stringp rule)
+ (symbolp this-command))
(string-match-p rule (symbol-name this-command)))
((symbolp rule)
(symbol-value rule))