]> git.eshelyaron.com Git - emacs.git/commit
Use C-mouse-1 for context menu on NS
authorMattias Engdegård <mattiase@acm.org>
Fri, 20 Aug 2021 10:03:20 +0000 (12:03 +0200)
committerMattias Engdegård <mattiase@acm.org>
Fri, 20 Aug 2021 10:34:34 +0000 (12:34 +0200)
commit89c31342a735c631b93ef7d75f3b0672e83f9e95
tree74465234ea7999cd2e3db04f7e1330648ff2b35e
parente1ed0c3af182b313f8f1a8f0d50fcda369aaf71c
Use C-mouse-1 for context menu on NS

The Mac platform convention is to use control-left-click for context
menus (as a synonym to right-click).

* lisp/mouse.el (context-menu--old-bindings): Remove.
(context-menu--saved-bindings)
(context-menu--bind-mouse, context-menu--reset-bindings): New.
(context-menu-mode): Use new functions, with C-mouse-1 as extra
binding on NS.
lisp/mouse.el