]> git.eshelyaron.com Git - emacs.git/commit
Add new mode context-menu-mode and use it in info.el and goto-addr.el
authorJuri Linkov <juri@linkov.net>
Tue, 20 Jul 2021 20:48:43 +0000 (23:48 +0300)
committerJuri Linkov <juri@linkov.net>
Tue, 20 Jul 2021 20:48:43 +0000 (23:48 +0300)
commit292e6261be8d4b7b08f87e70eb8490e31b3e9a4f
tree41f79ac2a8ec21e9a5b305e0208f4f3ca4981ba8
parent1b251ed4e8550c889d17fe7d88f58aa2fbc95fe0
Add new mode context-menu-mode and use it in info.el and goto-addr.el

* lisp/mouse.el (context-menu-functions): New defcustom.
(context-menu-overriding-function): New function.
(context-menu-filter-function): New defcustom.
(context-menu-map): New function.
(context-menu-undo, context-menu-region): New menu functions.
(context-menu-mode): New mode.

* lisp/info.el (Info-context-menu): New function.
(Info-mode): Add Info-context-menu to context-menu-functions.

* lisp/net/goto-addr.el (goto-address-context-menu): New function.
(goto-address-at-click): New command.
(goto-address-mode): Add goto-address-context-menu to context-menu-functions.
lisp/info.el
lisp/mouse.el
lisp/net/goto-addr.el