aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emulation
diff options
context:
space:
mode:
authorMiles Bader2007-12-16 05:08:49 +0000
committerMiles Bader2007-12-16 05:08:49 +0000
commitd29ee6b1a110cf5d170a10317a96acbbd4a1c68b (patch)
tree58f3c40766d8d56de7d2b026c29e198764d910aa /lisp/emulation
parent7e095e45a3f790e4608c88db9648d248e24901dc (diff)
parent47854a55680b5809811caf72f66ecbe8289c2855 (diff)
downloademacs-d29ee6b1a110cf5d170a10317a96acbbd4a1c68b.tar.gz
emacs-d29ee6b1a110cf5d170a10317a96acbbd4a1c68b.zip
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-300
Diffstat (limited to 'lisp/emulation')
-rw-r--r--lisp/emulation/viper-init.el10
-rw-r--r--lisp/emulation/viper-util.el2
2 files changed, 5 insertions, 7 deletions
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)
diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el
index 87bf5235b81..78f54b3d63c 100644
--- a/lisp/emulation/viper-util.el
+++ b/lisp/emulation/viper-util.el
@@ -636,7 +636,7 @@
636 (regexp (format "^[^;]*%s[ \t\n]*[a-zA-Z---_']*[ \t\n)]" var-name)) 636 (regexp (format "^[^;]*%s[ \t\n]*[a-zA-Z---_']*[ \t\n)]" var-name))
637 (buf (find-file-noselect (substitute-in-file-name custom-file))) 637 (buf (find-file-noselect (substitute-in-file-name custom-file)))
638 ) 638 )
639 (message message) 639 (message "%s" (or message ""))
640 (save-excursion 640 (save-excursion
641 (set-buffer buf) 641 (set-buffer buf)
642 (goto-char (point-min)) 642 (goto-char (point-min))