mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-25 10:47:00 +00:00
(top-level): Don't require ring.
Don't load viper-init, viper-cmd when compiling.
This commit is contained in:
parent
fea7492a1b
commit
cdd489b0fb
@ -297,28 +297,15 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'advice)
|
||||
(require 'ring)
|
||||
|
||||
;; compiler pacifier
|
||||
(defvar mark-even-if-inactive)
|
||||
(defvar quail-mode)
|
||||
(defvar viper-expert-level)
|
||||
(defvar viper-mode-string)
|
||||
(defvar viper-major-mode-modifier-list)
|
||||
|
||||
;; 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-init)
|
||||
(load "viper-init.el" nil t 'nosuffix))
|
||||
(or (featurep 'viper-cmd)
|
||||
(load "viper-cmd.el" nil t 'nosuffix))
|
||||
)))
|
||||
;; end pacifier
|
||||
|
||||
(require 'advice)
|
||||
(require 'viper-init)
|
||||
(require 'viper-keym)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user