]> git.eshelyaron.com Git - emacs.git/commit
Simplify eglot-code-actions
authorAndrii Kolomoiets <andreyk.mad@gmail.com>
Wed, 13 May 2020 07:48:26 +0000 (10:48 +0300)
committerJoão Távora <joaotavora@gmail.com>
Sat, 30 May 2020 23:53:49 +0000 (00:53 +0100)
commita56c77183a9b59409701cfd78e38b5a50970857d
treef423eac9a6849621f49d75a3d1dffb6d06e02029
parent5e0cd484ecd9abc9b1a9e1b14468620b9de9c9cc
Simplify eglot-code-actions

If no region is active, ask for code actions at point, even if there
are no diagnostics at point.

Co-authored-by: João Távora <joaotavora@gmail.com>
* eglot.el (eglot-code-actions): Simplify.

GitHub-reference: close https://github.com/joaotavora/eglot/issues/473
lisp/progmodes/eglot.el