Disable at-point mode when hover mode is disabled
This commit is contained in:
parent
d413647eea
commit
8aa2b6d35a
@ -135,6 +135,8 @@ It will be passes with two arguments: WIDTH and HEIGHT of the childframe.")
|
|||||||
#'eldoc-box--eldoc-message-function)
|
#'eldoc-box--eldoc-message-function)
|
||||||
(when eldoc-box-clear-with-C-g
|
(when eldoc-box-clear-with-C-g
|
||||||
(advice-add #'keyboard-quit :before #'eldoc-box-quit-frame)))
|
(advice-add #'keyboard-quit :before #'eldoc-box-quit-frame)))
|
||||||
|
(when eldoc-box-hover-at-point-mode
|
||||||
|
(eldoc-box-hover-at-point-mode -1))
|
||||||
(remove-function (local 'eldoc-message-function) #'eldoc-box--eldoc-message-function)
|
(remove-function (local 'eldoc-message-function) #'eldoc-box--eldoc-message-function)
|
||||||
(advice-remove #'keyboard-quit #'eldoc-box-quit-frame)
|
(advice-remove #'keyboard-quit #'eldoc-box-quit-frame)
|
||||||
;; if minor mode is turned off when childframe is visible
|
;; if minor mode is turned off when childframe is visible
|
||||||
|
Loading…
Reference in New Issue
Block a user