mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-14 16:50:58 +00:00
Fix menu binding for files in fileset
* lisp/filesets.el (filesets-remake-shortcut): We want the callback of the menu item, not a list that contains the callback. (Bug#44764)
This commit is contained in:
parent
cbd24607d7
commit
c390141d39
@ -1909,7 +1909,7 @@ User will be queried, if no fileset name is provided."
|
||||
(substring (elt submenu 0) 2))))
|
||||
(if (listp submenu)
|
||||
(cons name (cdr submenu))
|
||||
(apply 'vector (list name (cdr (append submenu nil)))))))
|
||||
(apply 'vector (list name (cadr (append submenu nil)))))))
|
||||
; (vconcat `[,name] (subseq submenu 1)))))
|
||||
|
||||
(defun filesets-wrap-submenu (submenu-body)
|
||||
|
Loading…
Reference in New Issue
Block a user