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

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

[elpa] externals/frog-menu 85e0cea 1/6: Fix width calculation to depend


From: Clemens Radermacher
Subject: [elpa] externals/frog-menu 85e0cea 1/6: Fix width calculation to depend on frog-menu-type
Date: Mon, 29 Apr 2019 08:35:03 -0400 (EDT)

branch: externals/frog-menu
commit 85e0cea7dd04f04a93ef241fccba7fa1ccbc70ec
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>

    Fix width calculation to depend on frog-menu-type
---
 frog-menu.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/frog-menu.el b/frog-menu.el
index e27acd6..6b8c0be 100644
--- a/frog-menu.el
+++ b/frog-menu.el
@@ -182,9 +182,9 @@ exits through an error."
   :type 'integer)
 
 (defcustom frog-menu-grid-width-function
-  (lambda () (cond ((eq frog-menu-type 'avy-posframe)
+  (lambda () (cond ((eq (frog-menu-type) 'avy-posframe)
                     (/ (frame-width) 2))
-                   ((eq frog-menu-type 'avy-side-window)
+                   ((eq (frog-menu-type) 'avy-side-window)
                     (* 2 (/ (frame-width) 3)))
                    (t (frame-width))))
   "Returns the width that should be used for menu grid.



reply via email to

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