Revert "Simplify childframe creation"
Built-in function doesn't really reused the childframe,
change back to manually reuse.
This reverts commit 6ceeb22b68
.
This commit is contained in:
parent
9f22d688a3
commit
6f18d01501
@ -234,9 +234,10 @@ Checkout `lsp-ui-doc--make-frame', `lsp-ui-doc--move-frame'."
|
|||||||
`((default-minibuffer-frame . ,(selected-frame))
|
`((default-minibuffer-frame . ,(selected-frame))
|
||||||
(minibuffer . ,(minibuffer-window))
|
(minibuffer . ,(minibuffer-window))
|
||||||
(left-fringe . ,(frame-char-width)))))
|
(left-fringe . ,(frame-char-width)))))
|
||||||
(window (display-buffer-in-child-frame
|
(window (or (and eldoc-box--frame (frame-selected-window eldoc-box--frame))
|
||||||
|
(display-buffer-in-child-frame
|
||||||
buffer
|
buffer
|
||||||
`((child-frame-parameters . ,parameter))))
|
`((child-frame-parameters . ,parameter)))))
|
||||||
(frame (window-frame window))
|
(frame (window-frame window))
|
||||||
(main-frame (selected-frame)))
|
(main-frame (selected-frame)))
|
||||||
(make-frame-visible frame)
|
(make-frame-visible frame)
|
||||||
|
Loading…
Reference in New Issue
Block a user