tools/lsp: fix void-function apply-orig-fn

When +lsp-auto-install-servers is non-nil.
This commit is contained in:
Henrik Lissner 2020-08-26 13:21:28 -04:00
parent 1c99aed0c0
commit 018cedf05f
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -76,7 +76,7 @@ should be a deliberate act (as is flipping this variable).")
"Replace auto-install behavior with warning and support indirect buffers."
:around #'lsp
(if +lsp-auto-install-servers
(apply-orig-fn args)
(apply orig-fn args)
(letf! ((buffer-file-name
;; Add support for indirect buffers (org src or capture buffers)
(or buffer-file-name