mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
tools/lsp: fix void-function apply-orig-fn
When +lsp-auto-install-servers is non-nil.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user