diff options
author | Juri Linkov <juri@linkov.net> | 2024-03-05 18:50:51 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2024-03-05 18:50:51 +0200 |
commit | f16a85e317d940aa2e0f0375ec5d1917cb04ade3 (patch) | |
tree | 3ffa61659c9b3307bfd86f5a023d983ab8eae378 /etc | |
parent | 9cf0f254bae79f6b6cda01e7a4b77fabec9f3f8f (diff) | |
download | emacs-f16a85e317d940aa2e0f0375ec5d1917cb04ade3.tar.gz |
New property 'context-menu-functions' (bug#62250)
* lisp/iimage.el (iimage-mode-buffer): Set context-menu-functions
text property to '(image-context-menu)'.
* lisp/image.el (image-context-menu): New function.
(put-image): Set context-menu-functions overlay property
to '(image-context-menu)'.
(insert-image, insert-sliced-image): Set context-menu-functions
text property to '(image-context-menu)'.
* lisp/mouse.el (context-menu-map): Use mouse-posn-property
'context-menu-functions' and call its funs at the end.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2087,6 +2087,10 @@ treesitter grammar. ** New buffer-local variable 'tabulated-list-groups'. It controls display and separate sorting of groups of entries. +--- +** New property 'context-menu-functions'. +Like the variable with the same name it adds a list of context menus. + * Changes in Emacs 30.1 on Non-Free Operating Systems |