summaryrefslogtreecommitdiff
path: root/lisp/ediff-help.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/ediff-help.el')
-rw-r--r--lisp/ediff-help.el19
1 files changed, 11 insertions, 8 deletions
diff --git a/lisp/ediff-help.el b/lisp/ediff-help.el
index ef6807768b8..7d3234db280 100644
--- a/lisp/ediff-help.el
+++ b/lisp/ediff-help.el
@@ -1,8 +1,8 @@
;;; ediff-help.el --- Code related to the contents of Ediff help buffers
-;; Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+;; Copyright (C) 1996, 97, 98, 99, 2000, 01, 02 Free Software Foundation, Inc.
-;; Author: Michael Kifer <kifer@cs.sunysb.edu>
+;; Author: Michael Kifer <kifer@cs.stonybrook.edu>
;; This file is part of GNU Emacs.
@@ -190,12 +190,15 @@ the value of this variable and the variables `ediff-help-message-*' in
(let ((pos (ediff-event-point last-command-event))
overl cmd)
- (if ediff-xemacs-p
- (setq overl (extent-at pos (current-buffer) 'ediff-help-info)
- cmd (ediff-overlay-get overl 'ediff-help-info))
- (setq cmd (car (mapcar (lambda (elt)
- (overlay-get elt 'ediff-help-info))
- (overlays-at pos)))))
+ (ediff-cond-compile-for-xemacs-or-emacs
+ ;; xemacs
+ (setq overl (extent-at pos (current-buffer) 'ediff-help-info)
+ cmd (ediff-overlay-get overl 'ediff-help-info))
+ ;; emacs
+ (setq cmd (car (mapcar (lambda (elt)
+ (overlay-get elt 'ediff-help-info))
+ (overlays-at pos))))
+ )
(if (not (stringp cmd))
(error "Hmm... I don't see an Ediff command around here..."))