changeset 86980:696a6b8decff

(top-level): Don't load viper-util when compiling. Move provide statement to end.
author Glenn Morris <rgm@gnu.org>
date Sun, 02 Dec 2007 21:01:53 +0000
parents 3824759a1317
children 31417cdd2b64
files lisp/emulation/viper-keym.el
diffstat 1 files changed, 3 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emulation/viper-keym.el	Sun Dec 02 21:01:17 2007 +0000
+++ b/lisp/emulation/viper-keym.el	Sun Dec 02 21:01:53 2007 +0000
@@ -26,8 +26,6 @@
 
 ;;; Code:
 
-(provide 'viper-keym)
-
 ;; compiler pacifier
 (defvar viper-always)
 (defvar viper-current-state)
@@ -35,15 +33,6 @@
 (defvar viper-expert-level)
 (defvar viper-ex-style-editing)
 (defvar viper-ex-style-motion)
-
-;; loading happens only in non-interactive compilation
-;; in order to spare non-viperized emacs from being viperized
-(if noninteractive
-    (eval-when-compile
-      (let ((load-path (cons (expand-file-name ".") load-path)))
-	(or (featurep 'viper-util)
-	    (load "viper-util.el" nil t 'nosuffix))
-	)))
 ;; end pacifier
 
 (require 'viper-util)
@@ -705,6 +694,9 @@
 	   alist))
 
 
+(provide 'viper-keym)
+
+
 ;;; Local Variables:
 ;;; eval: (put 'viper-deflocalvar 'lisp-indent-hook 'defun)
 ;;; End: