aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2007-12-09 02:18:04 +0000
committerGlenn Morris2007-12-09 02:18:04 +0000
commited8a25dfa1cb441e81333968f7a5bc8852f5e3b8 (patch)
tree5d99e37ba35c891d21aa36fd4ced4cc63c3c43dd
parenta5ded4c97bac3fc56e20f5273c5b6bc365949a1c (diff)
downloademacs-ed8a25dfa1cb441e81333968f7a5bc8852f5e3b8.tar.gz
emacs-ed8a25dfa1cb441e81333968f7a5bc8852f5e3b8.zip
(top-level): Use dolist rather than mapc in make-variable-frame-local call.
-rw-r--r--admin/FOR-RELEASE4
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emulation/viper-init.el10
3 files changed, 13 insertions, 6 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE
index b0965a01ba2..f96da325b75 100644
--- a/admin/FOR-RELEASE
+++ b/admin/FOR-RELEASE
@@ -107,6 +107,10 @@ http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg02052.html
107** Fix or document the shortcoming of easymenu and :suffix. 107** Fix or document the shortcoming of easymenu and :suffix.
108http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg01857.html 108http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg01857.html
109 109
110** Fix problem with mode-name in SGML mode.
111If mode-name stays non-string, add NEWS entry and doc fix.
112http://lists.gnu.org/archive/html/emacs-devel/2007-11/msg02048.html
113
110* DOCUMENTATION 114* DOCUMENTATION
111 115
112** Check the Emacs Tutorial. 116** Check the Emacs Tutorial.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ec7ce254dae..4a5a423cebc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12007-12-09 Glenn Morris <rgm@gnu.org>
2
3 * emulation/viper-init.el (top-level): Use dolist rather than mapc
4 in make-variable-frame-local call.
5
12007-12-08 Dan Nicolaescu <dann@ics.uci.edu> 62007-12-08 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * mail/hashcash.el (declare-function): 8 * mail/hashcash.el (declare-function):
diff --git a/lisp/emulation/viper-init.el b/lisp/emulation/viper-init.el
index 539a561bb5b..c91886e0329 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."
445(defvar viper-vi-state-cursor-color nil) 445(defvar viper-vi-state-cursor-color nil)
446 446
447(if (fboundp 'make-variable-frame-local) 447(if (fboundp 'make-variable-frame-local)
448 (mapc 'make-variable-frame-local 448 (dolist (v '(viper-replace-overlay-cursor-color
449 '(viper-replace-overlay-cursor-color 449 viper-insert-state-cursor-color viper-emacs-state-cursor-color
450 viper-insert-state-cursor-color 450 viper-vi-state-cursor-color))
451 viper-emacs-state-cursor-color 451 (make-variable-frame-local v)))
452 viper-vi-state-cursor-color)))
453
454 452
455(viper-deflocalvar viper-replace-overlay nil "") 453(viper-deflocalvar viper-replace-overlay nil "")
456(put 'viper-replace-overlay 'permanent-local t) 454(put 'viper-replace-overlay 'permanent-local t)