]> git.eshelyaron.com Git - emacs.git/commit
Don't take over mouse-1 binding on Eglot diagnostics (bug#62157)
authorJoão Távora <joaotavora@gmail.com>
Fri, 17 Mar 2023 22:37:27 +0000 (22:37 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sat, 18 Mar 2023 12:29:00 +0000 (12:29 +0000)
commit3293f9398821f4a022522bbe1939a69053999c66
treef66577df1c90d676f9c71dd77b9ba335d8557874
parent013057e3512be3c224df5ee228b479b950ae9fa5
Don't take over mouse-1 binding on Eglot diagnostics (bug#62157)

It's better to give the user a variable to allow the overlay keymap to
be customized.

* lisp/progmodes/eglot.el (eglot--mouse-call): Accept second arg.
(eglot--mode-line-props): Adapt call to eglot--mouse-call
(eglot-diagnostics-map): New variable.
(eglot-code-actions-at-mouse): New command.
lisp/progmodes/eglot.el