summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-05-22 04:21:25 +0000
committerRichard M. Stallman <rms@gnu.org>1993-05-22 04:21:25 +0000
commit278b0a585af5fa7d78af21e6d023b7d9a0e21c4b (patch)
tree1a9b7c836a255e6a465a71a851aeda3658ac8061 /lisp
parent2b0194315a0be076bce081a8346e2e979744f778 (diff)
downloademacs-278b0a585af5fa7d78af21e6d023b7d9a0e21c4b.tar.gz
(pending-undo-list): Var declared.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/simple.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index 8ce7cfceadc..f5184105361 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -608,6 +608,9 @@ A numeric argument serves as a repeat count."
(and modified (not (buffer-modified-p))
(delete-auto-save-file-if-necessary))))
+(defvar pending-undo-list nil
+ "Within a run of consecutive undo commands, list remaining to be undone.")
+
(defun undo-start ()
"Set `pending-undo-list' to the front of the undo list.
The next call to `undo-more' will undo the most recently made change."