summaryrefslogtreecommitdiff
path: root/lisp/ediff-help.el
diff options
context:
space:
mode:
authorMichael Kifer <kifer@cs.stonybrook.edu>1997-05-31 01:10:39 +0000
committerMichael Kifer <kifer@cs.stonybrook.edu>1997-05-31 01:10:39 +0000
commitddc90f39b06e390109df09d7c0a76d42fa7c6e26 (patch)
treeede1a9b155a2bf0f2b31cad39db716e5b7473bc2 /lisp/ediff-help.el
parent70bc91bcec0a22c3f7548941716c6c4c2b4cd023 (diff)
downloademacs-ddc90f39b06e390109df09d7c0a76d42fa7c6e26.tar.gz
new version
Diffstat (limited to 'lisp/ediff-help.el')
-rw-r--r--lisp/ediff-help.el22
1 files changed, 12 insertions, 10 deletions
diff --git a/lisp/ediff-help.el b/lisp/ediff-help.el
index 6390b98e407..64bb3e5a09d 100644
--- a/lisp/ediff-help.el
+++ b/lisp/ediff-help.el
@@ -1,6 +1,6 @@
;;; ediff-help.el --- Code related to the contents of Ediff help buffers
-;; Copyright (C) 1996 Free Software Foundation, Inc.
+;; Copyright (C) 1996, 1997 Free Software Foundation, Inc.
;; Author: Michael Kifer <kifer@cs.sunysb.edu>
@@ -22,17 +22,21 @@
;; Boston, MA 02111-1307, USA.
;;; Code:
-
-(require 'ediff-init)
+
+(provide 'ediff-help)
;; Compiler pacifier start
(defvar ediff-multiframe)
-(and noninteractive
- (eval-when-compile
- (let ((load-path (cons (expand-file-name ".") load-path)))
- (load-file "ediff-init.el"))))
+
+(eval-when-compile
+ (let ((load-path (cons (expand-file-name ".") load-path)))
+ (or (featurep 'ediff-init)
+ (load "ediff-init.el" nil nil 'nosuffix))
+ ))
;; end pacifier
+(require 'ediff-init)
+
;; Help messages
(defconst ediff-long-help-message-head
@@ -178,8 +182,7 @@ the value of this variable and the variables `ediff-help-message-*' in
"Explain Ediff commands in more detail."
(interactive)
(ediff-barf-if-not-control-buffer)
- (let ((ctl-buf (current-buffer))
- (pos (ediff-event-point last-command-event))
+ (let ((pos (ediff-event-point last-command-event))
overl cmd)
(if ediff-xemacs-p
@@ -306,6 +309,5 @@ the value of this variable and the variables `ediff-help-message-*' in
ediff-brief-help-message))
(run-hooks 'ediff-display-help-hook))
-(provide 'ediff-help)
;;; ediff-help.el ends here