[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico 436b8d0256: Improve vertico-suspend--message
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico 436b8d0256: Improve vertico-suspend--message |
Date: |
Sat, 9 Sep 2023 15:58:40 -0400 (EDT) |
branch: externals/vertico
commit 436b8d02569bc8f7d684eb16733e038e9fa52467
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Improve vertico-suspend--message
---
extensions/vertico-suspend.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/extensions/vertico-suspend.el b/extensions/vertico-suspend.el
index 4f49f48e89..fc9fc4fc6b 100644
--- a/extensions/vertico-suspend.el
+++ b/extensions/vertico-suspend.el
@@ -111,9 +111,9 @@ or the latest completion session is restored."
(defun vertico-suspend--message (&rest app)
"Show message in suspended minibuffer, otherwise apply APP."
- (let ((win (active-minibuffer-window)))
- (unless (buffer-local-value 'vertico-suspend--ov (window-buffer win))
- (apply app))))
+ (when-let ((win (active-minibuffer-window))
+ ((not (buffer-local-value 'vertico-suspend--ov (window-buffer
win)))))
+ (apply app)))
(advice-add #'set-minibuffer-message :around #'vertico-suspend--message)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/vertico 436b8d0256: Improve vertico-suspend--message,
ELPA Syncer <=