]> git.eshelyaron.com Git - emacs.git/commit
Allow showing show-paren context in an overlay
authorTassilo Horn <tsdh@gnu.org>
Tue, 8 Feb 2022 20:54:56 +0000 (21:54 +0100)
committerTassilo Horn <tsdh@gnu.org>
Tue, 8 Feb 2022 20:54:56 +0000 (21:54 +0100)
commit2755e6bba0f9dbb4030f51ea3bc258ee23bb41c5
tree58eadcf6e9080e13f61de579e9488f221644b32c
parentf7d16d93fded6ccdfef3c537c1841b7322010f12
Allow showing show-paren context in an overlay

* lisp/paren.el (show-paren-context-when-offscreen): Add new
possibility `overlay'.
(show-paren--context-overlay): New defvar.
(show-paren--delete-context-overlay): New function.
(show-paren--show-context-in-overlay): New function.
(show-paren-function): Handle the new `overlay' case.
* lisp/emacs-lisp/eldoc.el (eldoc-display-message-no-interference-p):
There's no interference if `show-paren-context-when-offscreen' is
overlay or child-frame.
lisp/emacs-lisp/eldoc.el
lisp/paren.el