diff options
| author | Glenn Morris | 2007-12-02 21:04:10 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-12-02 21:04:10 +0000 |
| commit | b01fc9c9d9ffef1541ae0a7e1bb5004cef4ba37a (patch) | |
| tree | 34d59ab180eee047f6faa494c3b3a5527e055df9 /lisp/emulation | |
| parent | eec597ed4a3668eaa3686a9c767995cc4e85c8a1 (diff) | |
| download | emacs-b01fc9c9d9ffef1541ae0a7e1bb5004cef4ba37a.tar.gz emacs-b01fc9c9d9ffef1541ae0a7e1bb5004cef4ba37a.zip | |
(top-level): Don't require advice.
Don't load viper-util, viper-keym, viper-mous, viper-macs, viper-ex
when compiling.
Diffstat (limited to 'lisp/emulation')
| -rw-r--r-- | lisp/emulation/viper-cmd.el | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lisp/emulation/viper-cmd.el b/lisp/emulation/viper-cmd.el index d6786c01987..5637fad59c7 100644 --- a/lisp/emulation/viper-cmd.el +++ b/lisp/emulation/viper-cmd.el | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | ;;; Code: | 27 | ;;; Code: |
| 28 | 28 | ||
| 29 | (provide 'viper-cmd) | 29 | (provide 'viper-cmd) |
| 30 | (require 'advice) | ||
| 31 | 30 | ||
| 32 | ;; Compiler pacifier | 31 | ;; Compiler pacifier |
| 33 | (defvar viper-minibuffer-current-face) | 32 | (defvar viper-minibuffer-current-face) |
| @@ -48,23 +47,6 @@ | |||
| 48 | (defvar initial) | 47 | (defvar initial) |
| 49 | (defvar undo-beg-posn) | 48 | (defvar undo-beg-posn) |
| 50 | (defvar undo-end-posn) | 49 | (defvar undo-end-posn) |
| 51 | |||
| 52 | ;; loading happens only in non-interactive compilation | ||
| 53 | ;; in order to spare non-viperized emacs from being viperized | ||
| 54 | (if noninteractive | ||
| 55 | (eval-when-compile | ||
| 56 | (let ((load-path (cons (expand-file-name ".") load-path))) | ||
| 57 | (or (featurep 'viper-util) | ||
| 58 | (load "viper-util.el" nil t 'nosuffix)) | ||
| 59 | (or (featurep 'viper-keym) | ||
| 60 | (load "viper-keym.el" nil t 'nosuffix)) | ||
| 61 | (or (featurep 'viper-mous) | ||
| 62 | (load "viper-mous.el" nil t 'nosuffix)) | ||
| 63 | (or (featurep 'viper-macs) | ||
| 64 | (load "viper-macs.el" nil t 'nosuffix)) | ||
| 65 | (or (featurep 'viper-ex) | ||
| 66 | (load "viper-ex.el" nil t 'nosuffix)) | ||
| 67 | ))) | ||
| 68 | ;; end pacifier | 50 | ;; end pacifier |
| 69 | 51 | ||
| 70 | 52 | ||