aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/misc/ChangeLog6
-rw-r--r--doc/misc/calc.texi20
-rw-r--r--lisp/ChangeLog5
3 files changed, 27 insertions, 4 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 40c1743e56b..41559f85cb5 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,9 @@
12009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc.texi (Undoing Mistakes): Mention that the undo list will be
4 truncated when Calc is quit.
5 (Customizing Calc): Document `calc-undo-length'.
6
12009-07-20 Chong Yidong <cyd@stupidchicken.com> 72009-07-20 Chong Yidong <cyd@stupidchicken.com>
2 8
3 * calc.texi (About This Manual): Don't mention chapter numbers in text. 9 * calc.texi (About This Manual): Don't mention chapter numbers in text.
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index 0475ee27fc6..0e6fc6db8d8 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -10280,10 +10280,13 @@ are removed or restored. If it was a ``store'' operation, you are
10280queried whether or not to restore the variable to its original value. 10280queried whether or not to restore the variable to its original value.
10281The @kbd{U} key may be pressed any number of times to undo successively 10281The @kbd{U} key may be pressed any number of times to undo successively
10282farther back in time; with a numeric prefix argument it undoes a 10282farther back in time; with a numeric prefix argument it undoes a
10283specified number of operations. The undo history is cleared only by the 10283specified number of operations. When the Calculator is quit, as with
10284@kbd{q} (@code{calc-quit}) command. (Recall that @kbd{C-x * c} is 10284the @kbd{q} (@code{calc-quit}) command, the undo history will be
10285synonymous with @code{calc-quit} while inside the Calculator; this 10285truncated to the length of the customizable variable
10286also clears the undo history.) 10286@code{calc-undo-length} (@pxref{Customizing Calc}), which by default
10287is @expr{100}. (Recall that @kbd{C-x * c} is synonymous with
10288@code{calc-quit} while inside the Calculator; this also truncates the
10289undo history.)
10287 10290
10288Currently the mode-setting commands (like @code{calc-precision}) are not 10291Currently the mode-setting commands (like @code{calc-precision}) are not
10289undoable. You can undo past a point where you changed a mode, but you 10292undoable. You can undo past a point where you changed a mode, but you
@@ -35047,6 +35050,15 @@ as @samp{a/(b*c)}. If @code{calc-multiplication-has-precedence} is
35047of @code{calc-multiplication-has-precedence} is @code{t}. 35050of @code{calc-multiplication-has-precedence} is @code{t}.
35048@end defvar 35051@end defvar
35049 35052
35053@defvar calc-undo-length
35054The variable @code{calc-undo-length} determines the number of undo
35055steps that Calc will keep track of when @code{calc-quit} is called.
35056If @code{calc-undo-length} is a non-negative integer, then this is the
35057number of undo steps that will be preserved; if
35058@code{calc-undo-length} has any other value, then all undo steps will
35059be preserved. The default value of @code{calc-undo-length} is @expr{100}.
35060@end defvar
35061
35050@node Reporting Bugs, Summary, Customizing Calc, Top 35062@node Reporting Bugs, Summary, Customizing Calc, Top
35051@appendix Reporting Bugs 35063@appendix Reporting Bugs
35052 35064
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 77dd24db798..6d480f8d7d3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc/calc.el (calc-undo-length): New variable.
4 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
5
12009-07-21 Richard Stallman <rms@gnu.org> 62009-07-21 Richard Stallman <rms@gnu.org>
2 7
3 * files.el (auto-save-mode): Handle buffer-save-size = -2 8 * files.el (auto-save-mode): Handle buffer-save-size = -2