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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue