branch: externals/phps-mode commit b94cbbf8bfe45ed568a054fd937c0fe28b6314cc Author: Christian Johansson <christ...@cvj.se> Commit: Christian Johansson <christ...@cvj.se>
Set GB collection in automation --- admin/phps-mode-automation.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/admin/phps-mode-automation.el b/admin/phps-mode-automation.el index 383fd1c..e1eecef 100644 --- a/admin/phps-mode-automation.el +++ b/admin/phps-mode-automation.el @@ -36,6 +36,11 @@ (if (fboundp 'parser-generator-lr-export-to-elisp) (progn + ;; 100 MB before garbage collection + (setq + gc-cons-threshold + (* 1024 1024 100)) + (let ((global-declaration (phps-mode-automation-parser-generator--global-declaration))) (when (boundp 'parser-generator--global-declaration) (setq