When quitting eldoc-box-hover-move, really delete the frame
This helps to reset the frame in case something has gone wrong. * eldoc-box.el (eldoc-box-hover-mode): Delete frame and set var to nil.
This commit is contained in:
parent
c5786a371c
commit
44007aa67d
@ -111,7 +111,9 @@ Consider your machine's screen's resolution when setting this variable.")
|
|||||||
(remove-function (local 'eldoc-message-function) #'eldoc-box--eldoc-message-function)
|
(remove-function (local 'eldoc-message-function) #'eldoc-box--eldoc-message-function)
|
||||||
;; if minor mode is turned off when childframe is visible
|
;; if minor mode is turned off when childframe is visible
|
||||||
;; hide it
|
;; hide it
|
||||||
(eldoc-box-quit-frame)))
|
(when eldoc-box--frame
|
||||||
|
(delete-frame eldoc-box--frame)
|
||||||
|
(setq eldoc-box--frame nil))))
|
||||||
|
|
||||||
;;;; Backstage
|
;;;; Backstage
|
||||||
;;;;; Variable
|
;;;;; Variable
|
||||||
|
Loading…
Reference in New Issue
Block a user