aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emulation/viper-init.el
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2007-12-09 02:18:04 +0000
committerGlenn Morris <[email protected]>2007-12-09 02:18:04 +0000
commited8a25dfa1cb441e81333968f7a5bc8852f5e3b8 (patch)
tree5d99e37ba35c891d21aa36fd4ced4cc63c3c43dd /lisp/emulation/viper-init.el
parenta5ded4c97bac3fc56e20f5273c5b6bc365949a1c (diff)
(top-level): Use dolist rather than mapc in make-variable-frame-local call.
Diffstat (limited to 'lisp/emulation/viper-init.el')
-rw-r--r--lisp/emulation/viper-init.el10
1 files changed, 4 insertions, 6 deletions
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el
index 539a561bb5..c91886e032 100644
--- a/lisp/emulation/viper-init.el
+++ b/lisp/emulation/viper-init.el
@@ -445,12 +445,10 @@ delete the text being replaced, as in standard Vi."
(defvar viper-vi-state-cursor-color nil)
(if (fboundp 'make-variable-frame-local)
- (mapc 'make-variable-frame-local
- '(viper-replace-overlay-cursor-color
- viper-insert-state-cursor-color
- viper-emacs-state-cursor-color
- viper-vi-state-cursor-color)))
-
+ (dolist (v '(viper-replace-overlay-cursor-color
+ viper-insert-state-cursor-color viper-emacs-state-cursor-color
+ viper-vi-state-cursor-color))
+ (make-variable-frame-local v)))
(viper-deflocalvar viper-replace-overlay nil "")
(put 'viper-replace-overlay 'permanent-local t)