1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* lisp/mouse.el (context-menu-map): Fix when menu is a command (bug#50851)

* lisp/help.el (help--analyze-key): Get information at the position
of mouse click such as 'C-h k' on a context menu item (bug#50067).
This commit is contained in:
Juri Linkov 2021-09-28 22:00:41 +03:00
parent 7cc6e1dda7
commit 2d1564103e
2 changed files with 2 additions and 2 deletions

View file

@ -328,7 +328,7 @@ the function `context-menu-filter-function'."
;; Remove duplicate separators
(let ((l menu))
(while l
(while (consp l)
(when (and (equal (cdr-safe (car l)) menu-bar-separator)
(equal (cdr-safe (cadr l)) menu-bar-separator))
(setcdr l (cddr l)))