tools/lsp: fix void-function apply-orig-fn
When +lsp-auto-install-servers is non-nil.
This commit is contained in:
parent
1c99aed0c0
commit
018cedf05f
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ should be a deliberate act (as is flipping this variable).")
|
||||||
"Replace auto-install behavior with warning and support indirect buffers."
|
"Replace auto-install behavior with warning and support indirect buffers."
|
||||||
:around #'lsp
|
:around #'lsp
|
||||||
(if +lsp-auto-install-servers
|
(if +lsp-auto-install-servers
|
||||||
(apply-orig-fn args)
|
(apply orig-fn args)
|
||||||
(letf! ((buffer-file-name
|
(letf! ((buffer-file-name
|
||||||
;; Add support for indirect buffers (org src or capture buffers)
|
;; Add support for indirect buffers (org src or capture buffers)
|
||||||
(or buffer-file-name
|
(or buffer-file-name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue