]> git.eshelyaron.com Git - emacs.git/commit
* lisp/thingatpt.el (thing-at-mouse): New function (bug#50256).
authorJuri Linkov <juri@linkov.net>
Sun, 12 Sep 2021 17:32:02 +0000 (20:32 +0300)
committerJuri Linkov <juri@linkov.net>
Sun, 12 Sep 2021 17:32:02 +0000 (20:32 +0300)
commitbd917088e69e71e77c15069f0751096141ca3f1a
tree149567f8d3e8e74662c85a708500cd49121c591d
parent4877ddeaf739af3a683d8686d1e2fa5e51960623
* lisp/thingatpt.el (thing-at-mouse): New function (bug#50256).

* lisp/net/dictionary.el: Add 'context-menu-dictionary' to
'context-menu-functions'.
(dictionary-search-word-at-mouse): New function.
(context-menu-dictionary): New function that uses 'thing-at-mouse'.
(dictionary-mouse-popup-matching-words): Remove stray 'selected-window'.

* lisp/textmodes/flyspell.el (flyspell-context-menu): Add '_click' arg.
etc/NEWS
lisp/net/dictionary.el
lisp/textmodes/flyspell.el
lisp/thingatpt.el