# HG changeset patch # User John Paul Wallington # Date 1214662469 0 # Node ID c594284b21d15aa5a2187d77be49c0fe89a09450 # Parent 269a3034145419c6c76eeafbe8c28eee4b482cfb (defmath): Add `doc-string' decl. Add docstring. diff -r 269a30341454 -r c594284b21d1 lisp/calc/calc.el --- a/lisp/calc/calc.el Sat Jun 28 10:17:22 2008 +0000 +++ b/lisp/calc/calc.el Sat Jun 28 14:14:29 2008 +0000 @@ -3663,6 +3663,17 @@ ;;;###autoload (defmacro defmath (func args &rest body) ; [Public] + "Define Calc function. + +Like `defun' except that code in the body of the definition can +make use of the full range of Calc data types and the usual +arithmetic operations are converted to their Calc equivalents. + +The prefix `calcFunc-' is added to the specified name to get the +actual Lisp function name. + +See Info node `(calc)Defining Functions'." + (declare (doc-string 3)) (require 'calc-ext) (math-do-defmath func args body))