Mercurial > emacs
diff lisp/ediff.el @ 87691:f2c8fd594360
2008-01-10 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff*.el: uncommented declare-function.
* viper*.el: uncommented declare-function.
author | Michael Kifer <kifer@cs.stonybrook.edu> |
---|---|
date | Thu, 10 Jan 2008 06:54:12 +0000 |
parents | ae3fe9150b36 |
children | c70e45a7acfd 6523ed37006c |
line wrap: on
line diff
--- a/lisp/ediff.el Thu Jan 10 04:08:55 2008 +0000 +++ b/lisp/ediff.el Thu Jan 10 06:54:12 2008 +0000 @@ -113,6 +113,9 @@ (defvar ediff-last-dir-patch) (defvar ediff-patch-default-directory) +(eval-and-compile + (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) + (eval-when-compile (and noninteractive @@ -361,8 +364,7 @@ (list (cons 'ediff-job-name job-name)) merge-buffer-file))) -;; declare-function does not exist in XEmacs -;;(declare-function diff-latest-backup-file "diff" (fn))) +(declare-function diff-latest-backup-file "diff" (fn)) ;;;###autoload (defalias 'ediff 'ediff-files) @@ -1428,7 +1430,7 @@ (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)) +(declare-function Info-goto-node "info" (nodename &optional fork)) ;;;###autoload (defun ediff-documentation (&optional node)