emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/corfu 41eb724 02/14: Ignore corfu-abort if documentatio


From: Protesilaos Stavrou
Subject: [elpa] externals/corfu 41eb724 02/14: Ignore corfu-abort if documentation/location window is shown
Date: Sat, 17 Apr 2021 10:25:41 -0400 (EDT)

branch: externals/corfu
commit 41eb7240b588e7cd59ff60d00e869f51a102f8ae
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    Ignore corfu-abort if documentation/location window is shown
---
 corfu.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/corfu.el b/corfu.el
index 1bf02a1..0e0a05b 100644
--- a/corfu.el
+++ b/corfu.el
@@ -461,6 +461,8 @@
         (other other-window-scroll-buffer)
         (hide (make-symbol "corfu--hide-help")))
     (fset hide (lambda ()
+                 (when (eq this-command #'corfu-abort)
+                   (setq this-command #'ignore))
                  (remove-hook 'pre-command-hook hide)
                  (setq other-window-scroll-buffer other)
                  (set-window-configuration config)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]