From 5078a3282e7861174954c5cb1a6bc26ba29d452f Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Wed, 26 Sep 2007 00:18:58 +0000 Subject: [PATCH] (set-viper-state-in-major-mode): Use `mapc' rather than `mapcar'. --- lisp/emulation/viper.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2