Fix: dead-frame

This commit is contained in:
Yuan Fu 2019-02-20 14:25:05 -05:00
parent 0649423e70
commit f86d7a6c37
No known key found for this signature in database
GPG Key ID: 1CF5ECABEC37A901

View File

@ -251,7 +251,7 @@ Checkout `lsp-ui-doc--make-frame', `lsp-ui-doc--move-frame'."
(left-fringe . ,(frame-char-width)))))
window frame
(main-frame (selected-frame)))
(if eldoc-box--frame
(if (and eldoc-box--frame (frame-live-p eldoc-box--frame))
(progn (setq frame eldoc-box--frame)
(setq window (frame-selected-window frame)))
(setq window (display-buffer-in-child-frame