[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emulation/viper-util.el,v
From: |
Michael Kifer |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emulation/viper-util.el,v |
Date: |
Thu, 03 Apr 2008 21:04:21 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Michael Kifer <kifer> 08/04/03 21:04:20
Index: emulation/viper-util.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/emulation/viper-util.el,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -b -r1.78 -r1.79
--- emulation/viper-util.el 12 Mar 2008 17:57:28 -0000 1.78
+++ emulation/viper-util.el 3 Apr 2008 21:04:17 -0000 1.79
@@ -209,10 +209,9 @@
(if (featurep 'emacs) 'frame-parameter 'frame-property)
(selected-frame)
'viper-saved-cursor-color-in-replace-mode)
- (let ((ecolor (viper-frame-value viper-emacs-state-cursor-color)))
(or (and (eq viper-current-state 'emacs-mode)
- ecolor)
- (viper-frame-value viper-vi-state-cursor-color)))))
+ (viper-frame-value viper-emacs-state-cursor-color))
+ (viper-frame-value viper-vi-state-cursor-color))))
(defsubst viper-get-saved-cursor-color-in-insert-mode ()
(or
@@ -220,10 +219,9 @@
(if (featurep 'emacs) 'frame-parameter 'frame-property)
(selected-frame)
'viper-saved-cursor-color-in-insert-mode)
- (let ((ecolor (viper-frame-value viper-emacs-state-cursor-color)))
(or (and (eq viper-current-state 'emacs-mode)
- ecolor)
- (viper-frame-value viper-vi-state-cursor-color)))))
+ (viper-frame-value viper-emacs-state-cursor-color))
+ (viper-frame-value viper-vi-state-cursor-color))))
(defsubst viper-get-saved-cursor-color-in-emacs-mode ()
(or
@@ -996,7 +994,7 @@
;; This function lets function-key-map convert key sequences into logical
;; keys. This does a better job than viper-read-event when it comes to kbd
;; macros, since it enables certain macros to be shared between X and TTY modes
-;; by correctly mapping key sequences for Left/Right/... (one an ascii
+;; by correctly mapping key sequences for Left/Right/... (on an ascii
;; terminal) into logical keys left, right, etc.
(defun viper-read-key ()
(let ((overriding-local-map viper-overriding-map)
- [Emacs-diffs] Changes to emacs/lisp/emulation/viper-util.el,v,
Michael Kifer <=