changeset 77257:429f941a58b7

(calc-version): New function.
author Jay Belanger <jay.p.belanger@gmail.com>
date Mon, 16 Apr 2007 02:30:04 +0000
parents 62cb849c21a0
children 2ee280510518
files lisp/calc/calc.el
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc.el	Mon Apr 16 01:57:04 2007 +0000
+++ b/lisp/calc/calc.el	Mon Apr 16 02:30:04 2007 +0000
@@ -1148,6 +1148,11 @@
 
 (defvar calc-alg-map) ; Defined in calc-ext.el
 
+(defun calc-version ()
+  "Return version of this version of Calc."
+  (interactive)
+  (message (concat "Calc version " calc-version)))
+
 (defun calc-mode ()
   "Calculator major mode.