]> git.eshelyaron.com Git - emacs.git/commitdiff
Undo previous change.
authorRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 2002 08:50:02 +0000 (08:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 2002 08:50:02 +0000 (08:50 +0000)
lisp/emulation/viper-cmd.el

index 1ca34a54bc14fb52d3921935a3459a474af35a47..faba7baf1b8fc4683440d037acb6b2bea7bb07a8 100644 (file)
@@ -1814,7 +1814,7 @@ With prefix argument, find next destructive command."
        (setq viper-intermediate-command
              'repeating-display-destructive-command)
       ;; first search through command history--set temp ring
-      (setq viper-temp-command-ring (copy-sequence viper-command-ring)))
+      (setq viper-temp-command-ring (copy-list viper-command-ring)))
     (setq cmd (if next
                  (viper-special-ring-rotate1 viper-temp-command-ring 1)
                (viper-special-ring-rotate1 viper-temp-command-ring -1)))
@@ -1848,7 +1848,7 @@ to in the global map, instead of cycling through the insertion ring."
                 (length viper-last-inserted-string-from-insertion-ring))))
          )
       ;;first search through insertion history
-      (setq viper-temp-insertion-ring (copy-sequence viper-insertion-ring)))
+      (setq viper-temp-insertion-ring (copy-list viper-insertion-ring)))
     (setq this-command 'viper-insert-from-insertion-ring)
     ;; so that things will be undone properly
     (setq buffer-undo-list (cons nil buffer-undo-list))