tools/lsp: fix void-function (setf lsp--workspace-shutdown-action)) #1965
This commit is contained in:
parent
4b91f961b6
commit
196c716c74
1 changed files with 1 additions and 2 deletions
|
@ -46,8 +46,7 @@ auto-killed (which is usually an expensive process)."
|
|||
(run-at-time
|
||||
3 nil (lambda (workspace)
|
||||
(let ((lsp--cur-workspace workspace))
|
||||
(if (lsp--workspace-buffers lsp--cur-workspace)
|
||||
(setf (lsp--workspace-shutdown-action lsp--cur-workspace) nil)
|
||||
(unless (lsp--workspace-buffers lsp--cur-workspace)
|
||||
(funcall orig-fn))))
|
||||
lsp--cur-workspace))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue