X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/7c2fb837ec2f0e0a509f22ccc35f9b43476a6119..b90caf50d04d2c51742054bb6b0e836f6d425203:/lisp/emulation/viper-util.el?ds=sidebyside diff --git a/lisp/emulation/viper-util.el b/lisp/emulation/viper-util.el index 9bb047183d..1ee1acaee9 100644 --- a/lisp/emulation/viper-util.el +++ b/lisp/emulation/viper-util.el @@ -1,7 +1,7 @@ ;;; viper-util.el --- Utilities used by viper.el ;; Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2003, -;; 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +;; 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. ;; Author: Michael Kifer @@ -196,7 +196,7 @@ Otherwise return the normal value." color))))))) -(defsubst viper-get-saved-cursor-color-in-replace-mode () +(defun viper-get-saved-cursor-color-in-replace-mode () (or (funcall (if (featurep 'emacs) 'frame-parameter 'frame-property) @@ -206,7 +206,7 @@ Otherwise return the normal value." (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 () +(defun viper-get-saved-cursor-color-in-insert-mode () (or (funcall (if (featurep 'emacs) 'frame-parameter 'frame-property) @@ -216,7 +216,7 @@ Otherwise return the normal value." (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 () +(defun viper-get-saved-cursor-color-in-emacs-mode () (or (funcall (if (featurep 'emacs) 'frame-parameter 'frame-property) @@ -939,10 +939,10 @@ Otherwise return the normal value." event)) ;; Uses different timeouts for ESC-sequences and others -(defsubst viper-fast-keysequence-p () +(defun viper-fast-keysequence-p () (not (viper-sit-for-short (if (viper-ESC-event-p last-input-event) - viper-ESC-keyseq-timeout + (viper-ESC-keyseq-timeout) viper-fast-keyseq-timeout) t))) @@ -1549,9 +1549,9 @@ This option is appropriate if you like Emacs-style words." -;;; Local Variables: -;;; eval: (put 'viper-deflocalvar 'lisp-indent-hook 'defun) -;;; End: +;; Local Variables: +;; eval: (put 'viper-deflocalvar 'lisp-indent-hook 'defun) +;; End: ;; arch-tag: 7f023fd5-dd9e-4378-a397-9c179553b0e3 ;;; viper-util.el ends here