aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPaul Eggert2019-09-14 10:53:24 -0700
committerPaul Eggert2019-09-14 10:56:12 -0700
commit1acc0cc9aaf25c808a60cf09cf8a4d1c653c3aa9 (patch)
treea1b386031ae203e49564cccc6071e564fe5f0348 /etc
parent3f43adac495364aa76703acb86b07b47fe64b422 (diff)
downloademacs-1acc0cc9aaf25c808a60cf09cf8a4d1c653c3aa9.tar.gz
emacs-1acc0cc9aaf25c808a60cf09cf8a4d1c653c3aa9.zip
Improve doc of GC thresholds
* doc/lispref/internals.texi (Garbage Collection), etc/NEWS: Warn that control over GC is only approximate.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 94c98a7ebe0..252c6bf9b9f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2430,6 +2430,13 @@ remote systems, which support this check.
2430** 'memory-limit' now returns a better estimate of memory consumption. 2430** 'memory-limit' now returns a better estimate of memory consumption.
2431 2431
2432+++ 2432+++
2433** When interpreting 'gc-cons-percentage', Emacs now estimates the
2434heap size more often and (we hope) more accurately. E.g., formerly
2435(progn (let ((gc-cons-percentage 0.8)) BODY1) BODY2) continued to use
2436the 0.8 value during BODY2 until the next garbage collection, but that
2437is no longer true. Applications may need to re-tune their GC tricks.
2438
2439+++
2433** New macro 'combine-change-calls' arranges to call the change hooks 2440** New macro 'combine-change-calls' arranges to call the change hooks
2434('before-change-functions' and 'after-change-functions') just once 2441('before-change-functions' and 'after-change-functions') just once
2435each around a sequence of lisp forms, given a region. This is 2442each around a sequence of lisp forms, given a region. This is