diff options
| -rw-r--r-- | lispref/text.texi | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/lispref/text.texi b/lispref/text.texi index 942fb2220a7..3d2fa870bac 100644 --- a/lispref/text.texi +++ b/lispref/text.texi | |||
| @@ -1321,20 +1321,27 @@ preferred name is @code{buffer-disable-undo}. | |||
| 1321 | them from using up all available memory space, garbage collection trims | 1321 | them from using up all available memory space, garbage collection trims |
| 1322 | them back to size limits you can set. (For this purpose, the ``size'' | 1322 | them back to size limits you can set. (For this purpose, the ``size'' |
| 1323 | of an undo list measures the cons cells that make up the list, plus the | 1323 | of an undo list measures the cons cells that make up the list, plus the |
| 1324 | strings of deleted text.) Two variables control the range of acceptable | 1324 | strings of deleted text.) Three variables control the range of acceptable |
| 1325 | sizes: @code{undo-limit} and @code{undo-strong-limit}. | 1325 | sizes: @code{undo-limit}, @code{undo-strong-limit} and |
| 1326 | @code{undo-outer-limit}. | ||
| 1326 | 1327 | ||
| 1327 | @defvar undo-limit | 1328 | @defopt undo-limit |
| 1328 | This is the soft limit for the acceptable size of an undo list. The | 1329 | This is the soft limit for the acceptable size of an undo list. The |
| 1329 | change group at which this size is exceeded is the last one kept. | 1330 | change group at which this size is exceeded is the last one kept. |
| 1330 | @end defvar | 1331 | @end defopt |
| 1331 | 1332 | ||
| 1332 | @defvar undo-strong-limit | 1333 | @defopt undo-strong-limit |
| 1333 | This is the upper limit for the acceptable size of an undo list. The | 1334 | This is the upper limit for the acceptable size of an undo list. The |
| 1334 | change group at which this size is exceeded is discarded itself (along | 1335 | change group at which this size is exceeded is discarded itself (along |
| 1335 | with all older change groups). There is one exception: the very latest | 1336 | with all older change groups). There is one exception: the very latest |
| 1336 | change group is never discarded no matter how big it is. | 1337 | change group is only discarded if it exceeds @code{undo-outer-limit}. |
| 1337 | @end defvar | 1338 | @end defopt |
| 1339 | |||
| 1340 | @defopt undo-outer-limit | ||
| 1341 | If at garbage collection time the undo info for the current command | ||
| 1342 | exceeds this limit, Emacs discards the info and prints a warning | ||
| 1343 | message. This is a last ditch limit to prevent memory overflow. | ||
| 1344 | @end defopt | ||
| 1338 | 1345 | ||
| 1339 | @node Filling | 1346 | @node Filling |
| 1340 | @comment node-name, next, previous, up | 1347 | @comment node-name, next, previous, up |