aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kifer1995-10-14 03:14:39 +0000
committerMichael Kifer1995-10-14 03:14:39 +0000
commit138df2ce478a963bf884c8aa22ad9f83047b76cb (patch)
treeb080bc143c5a4888dbec0fce14cf43d541dcf80b
parent009650b3f974b03c62ab32f1d811ec264676a918 (diff)
downloademacs-138df2ce478a963bf884c8aa22ad9f83047b76cb.tar.gz
emacs-138df2ce478a963bf884c8aa22ad9f83047b76cb.zip
(ediff-version): is now autoloaded.
-rw-r--r--lisp/ediff.el13
1 files changed, 11 insertions, 2 deletions
diff --git a/lisp/ediff.el b/lisp/ediff.el
index d0a41a33be9..3bdce5c177a 100644
--- a/lisp/ediff.el
+++ b/lisp/ediff.el
@@ -5,8 +5,8 @@
5;; Created: February 2, 1994 5;; Created: February 2, 1994
6;; Keywords: comparing, merging, patching, version control. 6;; Keywords: comparing, merging, patching, version control.
7 7
8(defconst ediff-version "2.46" "The current version of Ediff") 8(defconst ediff-version "2.47" "The current version of Ediff")
9(defconst ediff-date "September 28, 1995" "Date of last update") 9(defconst ediff-date "October 11, 1995" "Date of last update")
10 10
11;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
12 12
@@ -1483,6 +1483,15 @@ If `F.~REV~' already exists, it is used instead of being re-created."
1483 (setq rev2buf (current-buffer))) 1483 (setq rev2buf (current-buffer)))
1484 (ediff-buffers rev1buf rev2buf startup-hooks 'ediff-revision))) 1484 (ediff-buffers rev1buf rev2buf startup-hooks 'ediff-revision)))
1485 1485
1486;;;###autoload
1487(defun ediff-version ()
1488 "Return string describing the version of Ediff.
1489When called interactively, displays the version."
1490 (interactive)
1491 (if (interactive-p)
1492 (message (ediff-version))
1493 (format "Ediff %s of %s" ediff-version ediff-date)))
1494
1486 1495
1487(provide 'ediff) 1496(provide 'ediff)
1488(require 'ediff-util) 1497(require 'ediff-util)