[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/emacs-gc-stats 180e32ecb5 2/3: README: Suggest `emacs-g
From: |
ELPA Syncer |
Subject: |
[elpa] externals/emacs-gc-stats 180e32ecb5 2/3: README: Suggest `emacs-gc-stats-gc-defaults' |
Date: |
Thu, 15 Jun 2023 06:57:46 -0400 (EDT) |
branch: externals/emacs-gc-stats
commit 180e32ecb5fe5e50814903aaab2c2578a93eeb2f
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
README: Suggest `emacs-gc-stats-gc-defaults'
---
README.md | 4 +---
README.org | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index e10f94d2cc..2717fa5e1c 100644
--- a/README.md
+++ b/README.md
@@ -9,9 +9,7 @@ See the source code for information how to contact the author.
Add
(require 'emacs-gc-stats)
- ;; optional
- (setq gc-cons-threshold
- (* 800000 (seq-random-elt '(1 2 4 8 16 32 64 128))))
+ (setq emacs-gc-stats-gc-defaults 'emacs-defaults) ; optional
(emacs-gc-stats-mode +1)
to your init file to enable the statistics acquiring.
diff --git a/README.org b/README.org
index 5927c1d5eb..4d37232d57 100644
--- a/README.org
+++ b/README.org
@@ -12,9 +12,7 @@ See the source code for information how to contact the author.
Add
#+begin_src emacs-lisp
(require 'emacs-gc-stats)
-;; optional
-(setq gc-cons-threshold
- (* 800000 (seq-random-elt '(1 2 4 8 16 32 64 128))))
+(setq emacs-gc-stats-gc-defaults 'emacs-defaults) ; optional
(emacs-gc-stats-mode +1)
#+end_src
to your init file to enable the statistics acquiring.