diff options
author | Juri Linkov <juri@linkov.net> | 2021-07-28 19:40:23 +0300 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2021-07-28 19:40:23 +0300 |
commit | ee1887bf54e7091a382ad24691ce0f482c61d7ea (patch) | |
tree | 72a391ca9736e72d291f6b967b27d18091b05a47 /etc | |
parent | 2c2baa9d1231ad9e642e3a80fb1c641fdde71b33 (diff) | |
download | emacs-ee1887bf54e7091a382ad24691ce0f482c61d7ea.tar.gz |
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.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -346,8 +346,17 @@ onto 'file-name-history'. +++ ** A prefix arg now causes 'delete-other-frames' to only iconify frames. +** Menus + ++++ +*** New mode 'context-menu-mode' for a context menu bound to 'mouse-3'. +When this mode is enabled, clicking 'down-mouse-3' anywhere in the buffer +pops up a context menu whose contents depends on surrounding context +near the mouse click. You can customize the order of the default submenus +in the context menu by customizing the user option 'context-menu-functions'. + +++ -** The "Edit => Clear" menu item now obeys a rectangular region. +*** The "Edit => Clear" menu item now obeys a rectangular region. +++ ** New command 'execute-extended-command-for-buffer'. |