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

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

[elpa] externals/ace-window ceea53d 41/92: ace-window.el (aw-dispatch-de


From: Stefan Monnier
Subject: [elpa] externals/ace-window ceea53d 41/92: ace-window.el (aw-dispatch-default): Add fboundp
Date: Wed, 17 Mar 2021 18:39:18 -0400 (EDT)

branch: externals/ace-window
commit ceea53d7b6cb982cded8335ef79a13cc2d0bd2b2
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    ace-window.el (aw-dispatch-default): Add fboundp
    
    Fixes #124
---
 ace-window.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ace-window.el b/ace-window.el
index a1cd919..d329c8b 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -387,7 +387,8 @@ The new frame is set to the same size as the previous 
frame, offset by
 
 (defun aw-dispatch-default (char)
   "Perform an action depending on CHAR."
-  (cond ((avy-mouse-event-window char))
+  (cond ((and (fboundp 'avy-mouse-event-window)
+              (avy-mouse-event-window char)))
         ((= char (aref (kbd "C-g") 0))
          (throw 'done 'exit))
         ((= char aw-make-frame-char)



reply via email to

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