aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPaul Eggert2018-06-16 08:11:37 -0700
committerPaul Eggert2018-06-16 08:33:36 -0700
commitec1b4d9a51db61b77c3953f3de4339f34e512c42 (patch)
tree2cddf82b4305deb006bd12423b6664d2e1d38dc5 /etc
parent9af399fd803ac1ca79f319945b9745b5b96122e7 (diff)
downloademacs-ec1b4d9a51db61b77c3953f3de4339f34e512c42.tar.gz
emacs-ec1b4d9a51db61b77c3953f3de4339f34e512c42.zip
Rewrite memory-limit in Lisp
Have it return Emacs virtual memory size, not the sbrk value which is often useless newadays. * doc/lispref/internals.texi (Garbage Collection): * etc/NEWS: Document this. * lisp/subr.el (memory-limit): New implementation in Lisp, written in terms of process-attributes, and which returns virtual memory size. * src/alloc.c (Fmemory_limit): Remove C implementation.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index cecd3f81f85..d59b4a7cf4f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -665,6 +665,9 @@ instead of just Microsoft platforms. This fixes a 'get-free-disk-space'
665bug on OS X 10.8 and later (Bug#28639). 665bug on OS X 10.8 and later (Bug#28639).
666 666
667+++ 667+++
668** 'memory-limit' now returns a better estimate of memory consumption.
669
670+++
668** New macro 'combine-change-calls' arranges to call the change hooks 671** New macro 'combine-change-calls' arranges to call the change hooks
669('before-change-functions' and 'after-change-functions') just once 672('before-change-functions' and 'after-change-functions') just once
670each around a sequence of lisp forms, given a region. This is 673each around a sequence of lisp forms, given a region. This is