summaryrefslogtreecommitdiff
path: root/lisp/ediff.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ediff.el')
-rw-r--r--lisp/ediff.el28
1 files changed, 13 insertions, 15 deletions
diff --git a/lisp/ediff.el b/lisp/ediff.el
index cdfb66d9c00..5ef234d69ba 100644
--- a/lisp/ediff.el
+++ b/lisp/ediff.el
@@ -107,30 +107,30 @@
;;; Code:
+(provide 'ediff)
;; Compiler pacifier
(defvar cvs-cookie-handle)
(defvar ediff-last-dir-patch)
(defvar ediff-patch-default-directory)
+(defvar ediff-control-window)
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(eval-when-compile
- (and noninteractive
- (load "dired" nil t))
- (let ((load-path (cons (expand-file-name ".") load-path)))
- (provide 'ediff) ; to break recursive load cycle
- (or (featurep 'ediff-init)
- (load "ediff-init.el" nil t 'nosuffix))
- (or (featurep 'ediff-mult)
- (load "ediff-mult.el" nil t 'nosuffix))
- (or (featurep 'ediff-ptch)
- (load "ediff-ptch.el" nil t 'nosuffix))
- (or (featurep 'ediff-vers)
- (load "ediff-vers.el" nil t 'nosuffix))
- ))
+ (require 'dired)
+ (require 'ediff-init)
+ (if (not (featurep 'ediff-mult))
+ (require 'ediff-mult))
+ (if (not (featurep 'ediff-util))
+ (require 'ediff-util))
+ (require 'ediff-wind)
+ (if (not (featurep 'ediff-ptch))
+ (require 'ediff-ptch))
+ (require 'ediff-vers)
+ )
;; end pacifier
(require 'ediff-init)
@@ -1513,8 +1513,6 @@ With optional NODE, goes to that node."
(run-hooks 'ediff-load-hook)
-(provide 'ediff)
-
;;; Local Variables:
;;; eval: (put 'ediff-defvar-local 'lisp-indent-hook 'defun)