summaryrefslogtreecommitdiff
path: root/lisp/ediff.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-11-27 04:05:08 +0000
committerGlenn Morris <rgm@gnu.org>2007-11-27 04:05:08 +0000
commit76d0c4088f4ba7db7e74e5622f22e3b95060965a (patch)
treed1f7fef9281d38892dcca482fd4100c0c6ae1341 /lisp/ediff.el
parenta61506a749220db403a9dbcf35779a7e3d568f80 (diff)
downloademacs-76d0c4088f4ba7db7e74e5622f22e3b95060965a.tar.gz
Load dired and ediff-*.el files silently.
Don't load info, pcl-cvs when compiling. (Info-goto-node): Declare as a function.
Diffstat (limited to 'lisp/ediff.el')
-rw-r--r--lisp/ediff.el18
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/ediff.el b/lisp/ediff.el
index 1ccfdcc7d6c..5974f23d64a 100644
--- a/lisp/ediff.el
+++ b/lisp/ediff.el
@@ -113,22 +113,20 @@
(defvar ediff-last-dir-patch)
(defvar ediff-patch-default-directory)
-(and noninteractive
- (eval-when-compile
- (load-library "dired")
- (load-library "info")
- (load "pcl-cvs" 'noerror)))
+
(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 nil 'nosuffix))
+ (load "ediff-init.el" nil t 'nosuffix))
(or (featurep 'ediff-mult)
- (load "ediff-mult.el" nil nil 'nosuffix))
+ (load "ediff-mult.el" nil t 'nosuffix))
(or (featurep 'ediff-ptch)
- (load "ediff-ptch.el" nil nil 'nosuffix))
+ (load "ediff-ptch.el" nil t 'nosuffix))
(or (featurep 'ediff-vers)
- (load "ediff-vers.el" nil nil 'nosuffix))
+ (load "ediff-vers.el" nil t 'nosuffix))
))
;; end pacifier
@@ -1428,6 +1426,8 @@ When called interactively, displays the version."
(message (ediff-version))
(format "Ediff %s of %s" ediff-version ediff-date)))
+;; info is run first, and will autoload info.el.
+(declare-function Info-goto-node "info" (nodename &optional fork))
;;;###autoload
(defun ediff-documentation (&optional node)