1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
<html lang="en">
<head>
<title>DoUndo - ne's manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="ne's manual">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Undo-Commands.html#Undo-Commands" title="Undo Commands">
<link rel="prev" href="UndelLine.html#UndelLine" title="UndelLine">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="DoUndo"></a>
<p>
Previous: <a rel="previous" accesskey="p" href="UndelLine.html#UndelLine">UndelLine</a>,
Up: <a rel="up" accesskey="u" href="Undo-Commands.html#Undo-Commands">Undo Commands</a>
<hr>
</div>
<h4 class="subsection">4.7.4 DoUndo</h4>
<p><a name="index-DoUndo-126"></a>
Syntax: <code>DoUndo [0|1]</code><br>
Abbreviation: <code>DU</code>
<p class="noindent">sets the flag that enables or disables the undo system. When you turn
the undo system off, all the recorded actions are discarded, and the undo
buffers are reset.
<p>If you invoke <code>DoUndo</code> with no arguments, it will toggle the flag. If you
specify 0 or 1, the flag will be set to false or true, respectively. A lower
case ‘<samp><span class="samp">u</span></samp>’ will appear on the status bar if the flag is true.
<p>The usefulness of this option relies in the fact that the undo system is a major
memory eater. If you plan to do massive editing (say, cutting and pasting
megabytes of text) it is a good idea to disable the undo system, both for
improving (doubling) performance and for using less (half) memory. Except for
this, on a virtual memory system we see no reason to not keep the undo flag
always true, and this is indeed the default.
</body></html>
|