Skip to content

Commit 4283414

Browse files
authored
lsp-ui-doc--hide-frame: dont clear doc buffer on hide (emacs-lsp#644)
1 parent f0e1bb9 commit 4283414

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lsp-ui-doc.el

-2
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,6 @@ We don't extract the string that `lps-line' is already displaying."
403403
(lsp-ui-util-safe-delete-overlay lsp-ui-doc--inline-ov)
404404
(lsp-ui-util-safe-delete-overlay lsp-ui-doc--highlight-ov)
405405
(when-let ((frame (lsp-ui-doc--get-frame)))
406-
(unless lsp-ui-doc-use-webkit
407-
(lsp-ui-doc--with-buffer (erase-buffer)))
408406
(when (frame-visible-p frame)
409407
(make-frame-invisible frame))))
410408

0 commit comments

Comments
 (0)