branch: externals/gcmh
commit 9e241e0a9f921b04407050a0f0fada3d0c3b254a
Author: Andrea Corallo <[email protected]>
Commit: Andrea Corallo <[email protected]>
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