+2007-12-02 Glenn Morris <rgm@gnu.org>
+
+ * emulation/viper-cmd.el (top-level): Don't require advice.
+ Don't load viper-util, viper-keym, viper-mous, viper-macs,
+ viper-ex when compiling.
+
+ * emulation/viper-ex.el (top-level): Don't load viper-util,
+ viper-keym when compiling.
+
+ * emulation/viper-init.el (top-level): Move provide statement to end.
+
+ * emulation/viper-keym.el (top-level): Don't load viper-util when
+ compiling. Move provide statement to end.
+
+ * emulation/viper-macs.el (top-level): Don't load viper-util,
+ viper-keym, viper-mous when compiling.
+
+ * emulation/viper-mous.el (top-level): Don't load viper-util when
+ compiling.
+
+ * emulation/viper-util.el (top-level): Don't load viper-init when
+ compiling.
+
+ * emulation/viper.el (top-level): Don't require ring.
+ Don't load viper-init, viper-cmd when compiling.
+
2007-12-02 Karl Fogel <kfogel@red-bean.com>
Offer option for saveplace to be quiet about loading and saving.
;;; Code:
(provide 'viper-cmd)
-(require 'advice)
;; Compiler pacifier
(defvar viper-minibuffer-current-face)
(defvar initial)
(defvar undo-beg-posn)
(defvar undo-end-posn)
-
-;; 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))
- (or (featurep 'viper-keym)
- (load "viper-keym.el" nil t 'nosuffix))
- (or (featurep 'viper-mous)
- (load "viper-mous.el" nil t 'nosuffix))
- (or (featurep 'viper-macs)
- (load "viper-macs.el" nil t 'nosuffix))
- (or (featurep 'viper-ex)
- (load "viper-ex.el" nil t 'nosuffix))
- )))
;; end pacifier