Mercurial > emacs
changeset 13217:c3f879af05db
(ediff-version): is now autoloaded.
author | Michael Kifer <kifer@cs.stonybrook.edu> |
---|---|
date | Sat, 14 Oct 1995 03:14:39 +0000 |
parents | b9dc8cc658d5 |
children | d2fc560c7740 |
files | lisp/ediff.el |
diffstat | 1 files changed, 11 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ediff.el Sat Oct 14 03:14:11 1995 +0000 +++ b/lisp/ediff.el Sat Oct 14 03:14:39 1995 +0000 @@ -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 @@ (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)