Skip to content

Commit

Permalink
run-at-time 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenbok committed May 17, 2022
1 parent ae86fac commit adf7f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsp-ui-doc.el
Original file line number Diff line number Diff line change
Expand Up @@ -1185,7 +1185,7 @@ It is supposed to be called from `lsp-ui--toggle'"
(lsp-ui-doc-show)
(when lsp-ui-doc--unfocus-frame-timer
(cancel-timer lsp-ui-doc--unfocus-frame-timer))
(run-at-time 1 nil ;; Since we want hiding after *next* command, not *this* command
(run-at-time 0 nil ;; Since we want hiding after *next* command, not *this* command
(lambda ()
(add-hook 'post-command-hook 'lsp-ui-doc--glance-hide-frame))))

Expand Down

0 comments on commit adf7f37

Please sign in to comment.