]> git.eshelyaron.com Git - emacs.git/commit
Improve :type of defcustom 'context-menu-functions' and add documentation.
authorJuri Linkov <juri@linkov.net>
Wed, 28 Jul 2021 16:40:23 +0000 (19:40 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 28 Jul 2021 16:40:23 +0000 (19:40 +0300)
commitee1887bf54e7091a382ad24691ce0f482c61d7ea
tree72a391ca9736e72d291f6b967b27d18091b05a47
parent2c2baa9d1231ad9e642e3a80fb1c641fdde71b33
Improve :type of defcustom 'context-menu-functions' and add documentation.

* doc/emacs/frames.texi (Menu Mouse Clicks): Describe context-menu-mode
and context-menu-functions instead of suggesting global-set-key.
(Menu Bars): Mention context-menu-mode and context-menu-functions.

* etc/NEWS: Add context-menu-mode and context-menu-functions.

* lisp/mouse.el (context-menu-functions): Use :type with repeat/function-item.
(context-menu-minor, context-menu-undo, context-menu-region)
(context-menu-ffap): Improve docstrings displayed for function-item in
defcustom of context-menu-functions.
doc/emacs/frames.texi
etc/NEWS
lisp/mouse.el