From: Juanma Barranquero Date: Wed, 26 Sep 2007 00:18:58 +0000 (+0000) Subject: (set-viper-state-in-major-mode): Use `mapc' rather than `mapcar'. X-Git-Tag: emacs-pretest-23.0.90~10633 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5078a3282e7861174954c5cb1a6bc26ba29d452f;p=emacs.git (set-viper-state-in-major-mode): Use `mapc' rather than `mapcar'. --- diff --git a/lisp/emulation/viper.el b/lisp/emulation/viper.el index ff3217ac144..c0118250167 100644 --- a/lisp/emulation/viper.el +++ b/lisp/emulation/viper.el @@ -799,7 +799,7 @@ It also can't undo some Viper settings." ;; 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