Skip to content

Commit 83cd9b8

Browse files
authored
Use Lisp macro "delay-mode-hooks" for safe (#4401)
1 parent b7f1e1a commit 83cd9b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5322,7 +5322,7 @@ If EXCLUDE-DECLARATION is non-nil, request the server to include declarations."
53225322
(if (and contents (not (equal contents "")))
53235323
(let ((lsp-help-buf-name "*lsp-help*"))
53245324
(with-current-buffer (get-buffer-create lsp-help-buf-name)
5325-
(let ((delay-mode-hooks t))
5325+
(delay-mode-hooks
53265326
(lsp-help-mode)
53275327
(with-help-window lsp-help-buf-name
53285328
(insert (string-trim-right (lsp--render-on-hover-content contents t)))))

0 commit comments

Comments
 (0)