mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(top-level): Use dolist rather than mapc in make-variable-frame-local call.
This commit is contained in:
parent
a5ded4c97b
commit
ed8a25dfa1
3 changed files with 13 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue