Fix eldoc-box-frame-hook to run in childframe as documented
* eldoc-box.el (eldoc-box--get-frame): Run the hook in the childframe
This commit is contained in:
parent
3efb59ab78
commit
646ae5cdd8
@ -348,7 +348,8 @@ Checkout `lsp-ui-doc--make-frame', `lsp-ui-doc--move-frame'."
|
||||
;; set size
|
||||
(eldoc-box--update-childframe-geometry frame window)
|
||||
(setq eldoc-box--frame frame)
|
||||
(run-hook-with-args 'eldoc-box-frame-hook main-frame)
|
||||
(with-selected-frame frame
|
||||
(run-hook-with-args 'eldoc-box-frame-hook main-frame))
|
||||
(make-frame-visible frame))))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user