branch: externals/frog-menu commit cb58d30508c4d42c35cc9e4f3b753685f9791036 Author: Clemens Radermacher <clem...@posteo.net> Commit: Clemens Radermacher <clem...@posteo.net>
Change argument for frog-menu-call to expect a list --- frog-menu.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frog-menu.el b/frog-menu.el index 13d7ca6..5977980 100644 --- a/frog-menu.el +++ b/frog-menu.el @@ -590,10 +590,10 @@ ACTIONS is the argument of `frog-menu-read'." ;;;###autoload -(defun frog-menu-call (&rest cmds) +(defun frog-menu-call (cmds) "Read a command from CMDS and execute it. -CMDS are command symbols to choose from." +CMDS is a list of command symbols to choose from." (let ((cmd (intern-soft (frog-menu-read "" (mapcar #'symbol-name cmds))))) (unless (commandp cmd) (user-error "%s is no a kown command" cmd))