* lisp/simple.el (undo-make-selective-list): Obey undo-no-redo.
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 13 May 2014 20:34:12 +0000 (16:34 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 13 May 2014 20:34:12 +0000 (16:34 -0400)
lisp/ChangeLog
lisp/simple.el

index 0e6013a..cd2ce4e 100644 (file)
@@ -1,3 +1,7 @@
+2014-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * simple.el (undo-make-selective-list): Obey undo-no-redo.
+
 2014-05-12  Sam Steingold  <sds@gnu.org>
 
        * calendar/time-date.el (seconds-to-string): New function to
index 1484339..af8e47c 100644 (file)
@@ -2437,6 +2437,9 @@ list can be applied to the current buffer."
         undo-deltas
         undo-elt)
     (while ulist
+      (when undo-no-redo
+        (while (gethash ulist undo-equiv-table)
+          (setq ulist (gethash ulist undo-equiv-table))))
       (setq undo-elt (car ulist))
       (cond
        ((null undo-elt)