changeset 84909:696d13905618

(set-viper-state-in-major-mode): Use `mapc' rather than `mapcar'.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 26 Sep 2007 00:18:58 +0000
parents 862e65546389
children 90defdcad2cb
files lisp/emulation/viper.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emulation/viper.el	Wed Sep 26 00:18:24 2007 +0000
+++ b/lisp/emulation/viper.el	Wed Sep 26 00:18:58 2007 +0000
@@ -799,7 +799,7 @@
 
 ;; set appropriate Viper state in buffers that changed major mode
 (defun set-viper-state-in-major-mode ()
-  (mapcar
+  (mapc
    (lambda (buf)
      (if (viper-buffer-live-p buf)
 	 (with-current-buffer buf