mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-29 14:33:34 -05:00
Fix #4124: void-variable read-process-output-max
For Emacs 26 users, before this variable existed.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user