diff options
| -rw-r--r-- | doc/misc/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/misc/calc.texi | 20 | ||||
| -rw-r--r-- | lisp/ChangeLog | 5 |
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 @@ | |||
| 1 | 2009-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 | |||
| 1 | 2009-07-20 Chong Yidong <cyd@stupidchicken.com> | 7 | 2009-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 | |||
| 10280 | queried whether or not to restore the variable to its original value. | 10280 | queried whether or not to restore the variable to its original value. |
| 10281 | The @kbd{U} key may be pressed any number of times to undo successively | 10281 | The @kbd{U} key may be pressed any number of times to undo successively |
| 10282 | farther back in time; with a numeric prefix argument it undoes a | 10282 | farther back in time; with a numeric prefix argument it undoes a |
| 10283 | specified number of operations. The undo history is cleared only by the | 10283 | specified number of operations. When the Calculator is quit, as with |
| 10284 | @kbd{q} (@code{calc-quit}) command. (Recall that @kbd{C-x * c} is | 10284 | the @kbd{q} (@code{calc-quit}) command, the undo history will be |
| 10285 | synonymous with @code{calc-quit} while inside the Calculator; this | 10285 | truncated to the length of the customizable variable |
| 10286 | also clears the undo history.) | 10286 | @code{calc-undo-length} (@pxref{Customizing Calc}), which by default |
| 10287 | is @expr{100}. (Recall that @kbd{C-x * c} is synonymous with | ||
| 10288 | @code{calc-quit} while inside the Calculator; this also truncates the | ||
| 10289 | undo history.) | ||
| 10287 | 10290 | ||
| 10288 | Currently the mode-setting commands (like @code{calc-precision}) are not | 10291 | Currently the mode-setting commands (like @code{calc-precision}) are not |
| 10289 | undoable. You can undo past a point where you changed a mode, but you | 10292 | undoable. 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 | |||
| 35047 | of @code{calc-multiplication-has-precedence} is @code{t}. | 35050 | of @code{calc-multiplication-has-precedence} is @code{t}. |
| 35048 | @end defvar | 35051 | @end defvar |
| 35049 | 35052 | ||
| 35053 | @defvar calc-undo-length | ||
| 35054 | The variable @code{calc-undo-length} determines the number of undo | ||
| 35055 | steps that Calc will keep track of when @code{calc-quit} is called. | ||
| 35056 | If @code{calc-undo-length} is a non-negative integer, then this is the | ||
| 35057 | number of undo steps that will be preserved; if | ||
| 35058 | @code{calc-undo-length} has any other value, then all undo steps will | ||
| 35059 | be 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 @@ | |||
| 1 | 2009-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 | |||
| 1 | 2009-07-21 Richard Stallman <rms@gnu.org> | 6 | 2009-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 |