diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-01-14 09:49:44 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-01-14 09:49:44 +0100 |
commit | 373618d3a8ea378710989032c575b3e0c80381b2 (patch) | |
tree | 99e47630a267143b7b81b119c581c6fdd9ea6e29 /lisp/hi-lock.el | |
parent | 3f36d0836274a01d3cfc73f53ddbc76afc1d8a5e (diff) | |
download | emacs-373618d3a8ea378710989032c575b3e0c80381b2.tar.gz emacs-373618d3a8ea378710989032c575b3e0c80381b2.tar.bz2 emacs-373618d3a8ea378710989032c575b3e0c80381b2.zip |
Add new context menu functions to the context-menu-functions type
* lisp/mouse.el (context-menu-functions): Add new menu functions
to the defcustom type list (bug#52973).
Diffstat (limited to 'lisp/hi-lock.el')
-rw-r--r-- | lisp/hi-lock.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index d7d98c78f86..b70d4a75690 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el @@ -862,6 +862,7 @@ SPACES-REGEXP is a regexp to substitute spaces in font-lock search." (mouse-set-point event) (highlight-symbol-at-point))) +;;;###autoload (defun hi-lock-context-menu (menu click) "Populate MENU with a menu item to highlight symbol at CLICK." (save-excursion |