Fix #4124: void-variable read-process-output-max
For Emacs 26 users, before this variable existed.
This commit is contained in:
parent
562cb45ef5
commit
1811cae05c
1 changed files with 3 additions and 1 deletions
|
@ -27,7 +27,9 @@ killing and opening many LSP/eglot-powered buffers.")
|
||||||
;; Only apply these settings once!
|
;; Only apply these settings once!
|
||||||
(unless +lsp--optimization-init-p
|
(unless +lsp--optimization-init-p
|
||||||
(setq +lsp--default-read-process-output-max
|
(setq +lsp--default-read-process-output-max
|
||||||
(default-value 'read-process-output-max)
|
;; DEPRECATED Remove check when 26 support is dropped
|
||||||
|
(if (boundp 'read-process-output-max)
|
||||||
|
(default-value 'read-process-output-max))
|
||||||
+lsp--default-gcmh-high-cons-threshold
|
+lsp--default-gcmh-high-cons-threshold
|
||||||
(default-value 'gcmh-high-cons-threshold))
|
(default-value 'gcmh-high-cons-threshold))
|
||||||
;; `read-process-output-max' is only available on recent development
|
;; `read-process-output-max' is only available on recent development
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue