aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDmitry Antipov2014-07-11 16:19:58 +0400
committerDmitry Antipov2014-07-11 16:19:58 +0400
commit3aa96ff51efd72767f1a4e04c546187269b008c0 (patch)
tree64b09920082278cf2d84137dd1fe66f2179b15bf /doc
parent5f7c30e757680f66be9ef4c399fd1d7ce5b66203 (diff)
downloademacs-3aa96ff51efd72767f1a4e04c546187269b008c0.tar.gz
emacs-3aa96ff51efd72767f1a4e04c546187269b008c0.zip
* src/alloc.c (Fmemory_info) [HAVE_LINUX_SYSINFO]: Return nil if
sysinfo failed. Adjust docstring. * doc/lispref/internals.texi (Garbage Collection): Mention memory-info. * lisp/files.el (out-of-memory-warning-percentage): New defcustom. (warn-maybe-out-of-memory): Use it.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/internals.texi4
2 files changed, 8 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 17af128ae49..5f7e00a4f10 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * internals.texi (Garbage Collection): Mention memory-info.
4
12014-07-11 Michael Albinus <michael.albinus@gmx.de> 52014-07-11 Michael Albinus <michael.albinus@gmx.de>
2 6
3 * minibuf.texi (Intro to Minibuffers, Reading a Password): 7 * minibuf.texi (Intro to Minibuffers, Reading a Password):
diff --git a/doc/lispref/internals.texi b/doc/lispref/internals.texi
index 3a5bd4aea7e..626ecad7f42 100644
--- a/doc/lispref/internals.texi
+++ b/doc/lispref/internals.texi
@@ -513,6 +513,10 @@ created in this Emacs session. Each of these counters increments for
513a certain kind of object. See the documentation string for details. 513a certain kind of object. See the documentation string for details.
514@end defun 514@end defun
515 515
516@defun memory-info
517This functions returns an amount of total system memory and how much
518of it is free. On an unsupported system, the value may be @code{nil}.
519
516@defvar gcs-done 520@defvar gcs-done
517This variable contains the total number of garbage collections 521This variable contains the total number of garbage collections
518done so far in this Emacs session. 522done so far in this Emacs session.