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

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

[elpa] externals/gcmh 9e241e0 21/32: Fix missing `gcmh-low-cons-threshol


From: Andrea Corallo
Subject: [elpa] externals/gcmh 9e241e0 21/32: Fix missing `gcmh-low-cons-threshold' set introduced by 8867533
Date: Mon, 16 Nov 2020 17:32:06 -0500 (EST)

branch: externals/gcmh
commit 9e241e0a9f921b04407050a0f0fada3d0c3b254a
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>

    Fix missing `gcmh-low-cons-threshold' set introduced by 8867533
---
 gcmh.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gcmh.el b/gcmh.el
index d78b505..f042ced 100644
--- a/gcmh.el
+++ b/gcmh.el
@@ -82,7 +82,8 @@ This is to be used with the `pre-command-hook'."
                     (gcmh-time (garbage-collect)))
          (error (message "Garbage collecting...failed")
                 (signal (car e) (cdr e)))))
-    (garbage-collect)))
+    (garbage-collect))
+  (setq gc-cons-threshold gcmh-low-cons-threshold))
 
 ;;;###autoload
 (define-minor-mode gcmh-mode



reply via email to

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