emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/phps-mode 9d5a82910a 1/9: Garbage collection fix for pa


From: Christian Johansson
Subject: [elpa] externals/phps-mode 9d5a82910a 1/9: Garbage collection fix for parser generation
Date: Mon, 15 Jan 2024 08:24:58 -0500 (EST)

branch: externals/phps-mode
commit 9d5a82910a0bd257d25426a893dee4a26440ad03
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Garbage collection fix for parser generation
---
 admin/phps-mode-automation.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/admin/phps-mode-automation.el b/admin/phps-mode-automation.el
index 4d1330c054..015823333a 100644
--- a/admin/phps-mode-automation.el
+++ b/admin/phps-mode-automation.el
@@ -25,6 +25,13 @@
   (if (fboundp 'parser-generator-lr-export-to-elisp)
       (progn
 
+        ;; Emacs 29.1
+        ;; Batch jobs that are supposed to run for a long time should
+        ;; adjust the limit back down to 0.1
+        (setq
+         gc-cons-percentage
+         0.1)
+
         (let* ((global-declaration
                 (phps-mode-automation-parser-generator--global-declaration))
                (attributes



reply via email to

[Prev in Thread] Current Thread [Next in Thread]