summaryrefslogtreecommitdiff
path: root/lisp/ediff-diff.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ediff-diff.el')
-rw-r--r--lisp/ediff-diff.el14
1 files changed, 6 insertions, 8 deletions
diff --git a/lisp/ediff-diff.el b/lisp/ediff-diff.el
index 00060a9e974..04d2697c911 100644
--- a/lisp/ediff-diff.el
+++ b/lisp/ediff-diff.el
@@ -27,18 +27,18 @@
;;; Code:
+(provide 'ediff-diff)
+
;; compiler pacifier
(defvar ediff-default-variant)
(defvar null-device)
(defvar longlines-mode)
(eval-when-compile
- (let ((load-path (cons (expand-file-name ".") load-path)))
- (or (featurep 'ediff-init)
- (load "ediff-init.el" nil t 'nosuffix))
- (or (featurep 'ediff-util)
- (load "ediff-util.el" nil t 'nosuffix))
- ))
+ (require 'ediff-init)
+ (if (not (featurep 'ediff-util))
+ (require 'ediff-util))
+ )
;; end pacifier
(require 'ediff-init)
@@ -1536,8 +1536,6 @@ affects only files whose names match the expression."
)
-(provide 'ediff-diff)
-
;;; Local Variables:
;;; eval: (put 'ediff-defvar-local 'lisp-indent-hook 'defun)