changeset 45737:ba93f9711e84

(viper-insert-prev-from-insertion-ring) (viper-prev-destructive-command): Use copy-sequence.
author Richard M. Stallman <rms@gnu.org>
date Mon, 10 Jun 2002 08:33:32 +0000
parents fa968fe464d3
children 12bd288850ef
files lisp/emulation/viper-cmd.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emulation/viper-cmd.el	Mon Jun 10 08:33:13 2002 +0000
+++ b/lisp/emulation/viper-cmd.el	Mon Jun 10 08:33:32 2002 +0000
@@ -1814,7 +1814,7 @@
 	(setq viper-intermediate-command
 	      'repeating-display-destructive-command)
       ;; first search through command history--set temp ring
-      (setq viper-temp-command-ring (copy-list viper-command-ring)))
+      (setq viper-temp-command-ring (copy-sequence 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 @@
 		 (length viper-last-inserted-string-from-insertion-ring))))
 	  )
       ;;first search through insertion history
-      (setq viper-temp-insertion-ring (copy-list viper-insertion-ring)))
+      (setq viper-temp-insertion-ring (copy-sequence 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))