changeset 84906:afc4adbe0af6

(viper-toggle-key, viper-ESC-key): Use `mapc' rather than `mapcar'.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 26 Sep 2007 00:17:11 +0000
parents 47928cf63c6c
children 80f409ec2b40
files lisp/emulation/viper-keym.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emulation/viper-keym.el	Wed Sep 26 00:16:39 2007 +0000
+++ b/lisp/emulation/viper-keym.el	Wed Sep 26 00:17:11 2007 +0000
@@ -170,7 +170,7 @@
 	 (let ((old-value (if (boundp 'viper-toggle-key)
 			      viper-toggle-key
 			    [(control ?z)])))
-	   (mapcar
+	   (mapc
 	    (lambda (buf)
 	      (save-excursion
 		(set-buffer buf)
@@ -210,7 +210,7 @@
 	 (let ((old-value (if (boundp 'viper-ESC-key)
 			      viper-ESC-key
 			    [(escape)])))
-	   (mapcar
+	   (mapc
 	    (lambda (buf)
 	      (save-excursion
 		(set-buffer buf)