diff options
| author | Dmitry Antipov | 2014-07-11 16:19:58 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2014-07-11 16:19:58 +0400 |
| commit | 3aa96ff51efd72767f1a4e04c546187269b008c0 (patch) | |
| tree | 64b09920082278cf2d84137dd1fe66f2179b15bf /doc | |
| parent | 5f7c30e757680f66be9ef4c399fd1d7ce5b66203 (diff) | |
| download | emacs-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/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/internals.texi | 4 |
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 @@ | |||
| 1 | 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 2 | |||
| 3 | * internals.texi (Garbage Collection): Mention memory-info. | ||
| 4 | |||
| 1 | 2014-07-11 Michael Albinus <michael.albinus@gmx.de> | 5 | 2014-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 | |||
| 513 | a certain kind of object. See the documentation string for details. | 513 | a certain kind of object. See the documentation string for details. |
| 514 | @end defun | 514 | @end defun |
| 515 | 515 | ||
| 516 | @defun memory-info | ||
| 517 | This functions returns an amount of total system memory and how much | ||
| 518 | of it is free. On an unsupported system, the value may be @code{nil}. | ||
| 519 | |||
| 516 | @defvar gcs-done | 520 | @defvar gcs-done |
| 517 | This variable contains the total number of garbage collections | 521 | This variable contains the total number of garbage collections |
| 518 | done so far in this Emacs session. | 522 | done so far in this Emacs session. |