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:
parent
7cc6e1dda7
commit
2d1564103e
2 changed files with 2 additions and 2 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue