Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions popup.el
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ PROMPT is a prompt string when reading events during event loop."
(use-global-map old-global-map)
(if timer (cancel-timer timer))))))

(defun popup-menu-fallback (event default))
(defun popup-menu-fallback (event default menu))

(cl-defun popup-menu-event-loop (menu
keymap
Expand Down Expand Up @@ -1245,7 +1245,7 @@ PROMPT is a prompt string when reading events during event loop."
((commandp binding)
(call-interactively binding))
(t
(funcall fallback key (key-binding key)))))))
(funcall fallback key (key-binding key) menu))))))

(defun popup-preferred-width (list)
"Return the preferred width to show LIST beautifully."
Expand Down