Skip to content

Commit

Permalink
Make frame visible after all configurations done
Browse files Browse the repository at this point in the history
  • Loading branch information
casouri committed Feb 10, 2019
1 parent d5c52cb commit b9a235b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eldoc-box.el
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ Checkout `lsp-ui-doc--make-frame', `lsp-ui-doc--move-frame'."
(left-fringe . ,(frame-char-width)))))
window frame
(main-frame (selected-frame)))
(make-frame-visible frame)
(if eldoc-box--frame
(progn (setq frame eldoc-box--frame)
(setq window (frame-selected-window frame)))
Expand Down Expand Up @@ -278,7 +277,8 @@ Checkout `lsp-ui-doc--make-frame', `lsp-ui-doc--move-frame'."
(set-frame-size frame width height t)
;; move position
(set-frame-position frame (car pos) (cdr pos)))
(setq eldoc-box--frame frame)))
(setq eldoc-box--frame frame)
(make-frame-visible frame)))


;;;;; ElDoc
Expand Down

0 comments on commit b9a235b

Please sign in to comment.