Make eldoc-box-clear-with-C-g work for help-at-point too
* eldoc-box.el (eldoc-box-help-at-point): Add advice if eldoc-box-clear-with-C-g is non-nil.
This commit is contained in:
parent
2663fd8834
commit
270a9a8948
@ -290,7 +290,9 @@ If point != last point, hide the childframe.")
|
|||||||
(with-current-buffer eldoc--doc-buffer
|
(with-current-buffer eldoc--doc-buffer
|
||||||
(buffer-string))))
|
(buffer-string))))
|
||||||
(setq eldoc-box--help-at-point-last-point (point))
|
(setq eldoc-box--help-at-point-last-point (point))
|
||||||
(run-with-timer 0.1 nil #'eldoc-box--help-at-point-cleanup)))
|
(run-with-timer 0.1 nil #'eldoc-box--help-at-point-cleanup)
|
||||||
|
(when eldoc-box-clear-with-C-g
|
||||||
|
(advice-add #'keyboard-quit :before #'eldoc-box-quit-frame))))
|
||||||
|
|
||||||
;;;; Backstage
|
;;;; Backstage
|
||||||
;;;;; Variable
|
;;;;; Variable
|
||||||
|
Loading…
Reference in New Issue
Block a user