Mercurial > emacs
comparison lispref/text.texi @ 59933:24dc47dc5486
(Maintaining Undo): Remove obsolete function.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Sat, 05 Feb 2005 18:11:58 +0000 |
parents | 8e65810e7f24 |
children | e568af229081 |
comparison
equal
deleted
inserted
replaced
59932:c7c51386376c | 59933:24dc47dc5486 |
---|---|
1 @c -*-texinfo-*- | 1 @c -*-texinfo-*- |
2 @c This is part of the GNU Emacs Lisp Reference Manual. | 2 @c This is part of the GNU Emacs Lisp Reference Manual. |
3 @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, | 3 @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, |
4 @c 2000, 2001, 2004 | 4 @c 2000, 2001, 2004, 2005 |
5 @c Free Software Foundation, Inc. | 5 @c Free Software Foundation, Inc. |
6 @c See the file elisp.texi for copying conditions. | 6 @c See the file elisp.texi for copying conditions. |
7 @setfilename ../info/text | 7 @setfilename ../info/text |
8 @node Text, Non-ASCII Characters, Markers, Top | 8 @node Text, Non-ASCII Characters, Markers, Top |
9 @chapter Text | 9 @chapter Text |
1303 In an interactive call, @var{buffer-or-name} is the current buffer. | 1303 In an interactive call, @var{buffer-or-name} is the current buffer. |
1304 You cannot specify any other buffer. | 1304 You cannot specify any other buffer. |
1305 @end deffn | 1305 @end deffn |
1306 | 1306 |
1307 @deffn Command buffer-disable-undo &optional buffer-or-name | 1307 @deffn Command buffer-disable-undo &optional buffer-or-name |
1308 @deffnx Command buffer-flush-undo &optional buffer-or-name | |
1309 @cindex disable undo | 1308 @cindex disable undo |
1310 This function discards the undo list of @var{buffer-or-name}, and disables | 1309 This function discards the undo list of @var{buffer-or-name}, and disables |
1311 further recording of undo information. As a result, it is no longer | 1310 further recording of undo information. As a result, it is no longer |
1312 possible to undo either previous changes or any subsequent changes. If | 1311 possible to undo either previous changes or any subsequent changes. If |
1313 the undo list of @var{buffer-or-name} is already disabled, this function | 1312 the undo list of @var{buffer-or-name} is already disabled, this function |
1314 has no effect. | 1313 has no effect. |
1315 | 1314 |
1316 This function returns @code{nil}. | 1315 This function returns @code{nil}. |
1317 | |
1318 The name @code{buffer-flush-undo} is not considered obsolete, but the | |
1319 preferred name is @code{buffer-disable-undo}. | |
1320 @end deffn | 1316 @end deffn |
1321 | 1317 |
1322 As editing continues, undo lists get longer and longer. To prevent | 1318 As editing continues, undo lists get longer and longer. To prevent |
1323 them from using up all available memory space, garbage collection trims | 1319 them from using up all available memory space, garbage collection trims |
1324 them back to size limits you can set. (For this purpose, the ``size'' | 1320 them back to size limits you can set. (For this purpose, the ``size'' |