1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(ediff-version): is now autoloaded.

This commit is contained in:
Michael Kifer 1995-10-14 03:14:39 +00:00
parent 009650b3f9
commit 138df2ce47

View File

@ -5,8 +5,8 @@
;; Created: February 2, 1994
;; Keywords: comparing, merging, patching, version control.
(defconst ediff-version "2.46" "The current version of Ediff")
(defconst ediff-date "September 28, 1995" "Date of last update")
(defconst ediff-version "2.47" "The current version of Ediff")
(defconst ediff-date "October 11, 1995" "Date of last update")
;; This file is part of GNU Emacs.
@ -1483,6 +1483,15 @@ If `F.~REV~' already exists, it is used instead of being re-created."
(setq rev2buf (current-buffer)))
(ediff-buffers rev1buf rev2buf startup-hooks 'ediff-revision)))
;;;###autoload
(defun ediff-version ()
"Return string describing the version of Ediff.
When called interactively, displays the version."
(interactive)
(if (interactive-p)
(message (ediff-version))
(format "Ediff %s of %s" ediff-version ediff-date)))
(provide 'ediff)
(require 'ediff-util)