diff options
| author | Richard M. Stallman | 2002-06-10 08:50:02 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-06-10 08:50:02 +0000 |
| commit | 37ce10ea26089aa0908a9ecfa47b0032e10797db (patch) | |
| tree | 48895a2004561e06f89777cf7ea2d15d237537f2 /lisp | |
| parent | 8a0c77f5dccb52e8707f25495fb9f051f0ba6401 (diff) | |
| download | emacs-37ce10ea26089aa0908a9ecfa47b0032e10797db.tar.gz emacs-37ce10ea26089aa0908a9ecfa47b0032e10797db.zip | |
Undo previous change.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/emulation/viper-cmd.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el index 1ca34a54bc1..faba7baf1b8 100644 --- a/lisp/emulation/viper-cmd.el +++ b/lisp/emulation/viper-cmd.el | |||
| @@ -1814,7 +1814,7 @@ With prefix argument, find next destructive command." | |||
| 1814 | (setq viper-intermediate-command | 1814 | (setq viper-intermediate-command |
| 1815 | 'repeating-display-destructive-command) | 1815 | 'repeating-display-destructive-command) |
| 1816 | ;; first search through command history--set temp ring | 1816 | ;; first search through command history--set temp ring |
| 1817 | (setq viper-temp-command-ring (copy-sequence viper-command-ring))) | 1817 | (setq viper-temp-command-ring (copy-list viper-command-ring))) |
| 1818 | (setq cmd (if next | 1818 | (setq cmd (if next |
| 1819 | (viper-special-ring-rotate1 viper-temp-command-ring 1) | 1819 | (viper-special-ring-rotate1 viper-temp-command-ring 1) |
| 1820 | (viper-special-ring-rotate1 viper-temp-command-ring -1))) | 1820 | (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." | |||
| 1848 | (length viper-last-inserted-string-from-insertion-ring)))) | 1848 | (length viper-last-inserted-string-from-insertion-ring)))) |
| 1849 | ) | 1849 | ) |
| 1850 | ;;first search through insertion history | 1850 | ;;first search through insertion history |
| 1851 | (setq viper-temp-insertion-ring (copy-sequence viper-insertion-ring))) | 1851 | (setq viper-temp-insertion-ring (copy-list viper-insertion-ring))) |
| 1852 | (setq this-command 'viper-insert-from-insertion-ring) | 1852 | (setq this-command 'viper-insert-from-insertion-ring) |
| 1853 | ;; so that things will be undone properly | 1853 | ;; so that things will be undone properly |
| 1854 | (setq buffer-undo-list (cons nil buffer-undo-list)) | 1854 | (setq buffer-undo-list (cons nil buffer-undo-list)) |