File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -591,7 +591,10 @@ or file path may exist now."
591
591
592
592
; ; PERF: Optimization, inspired by: https://reddit.com/r/emacs/comments/1gv556t/comment/lxzbfw8
593
593
(unless minemacs-debug-p
594
- (cl-callf plist-put eglot-events-buffer-config :size 0 ) ; Disable logs in `eglot-events-buffer' (def. 2000000)
594
+ (cond ((boundp 'eglot-events-buffer-config )
595
+ (cl-callf plist-put eglot-events-buffer-config :size 0 )) ; Disable logs in `eglot-events-buffer' (def. 2000000)
596
+ ((boundp 'eglot-events-buffer-size ) ; Emacs 29
597
+ (setq eglot-events-buffer-size 0 )))
595
598
(with-eval-after-load 'jsonrpc ; Disable logging in `jsonrpc'
596
599
(fset 'jsonrpc--log-event #'ignore )
597
600
(remove-hook 'jsonrpc-event-hook 'jsonrpc--log-event )))
You can’t perform that action at this time.
0 commit comments