1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-03 04:21:28 -08:00

(calc-user-define-formula, calc-do-defmath): Replace calc-need-macros by

appropriate require.
This commit is contained in:
Jay Belanger 2004-11-29 05:58:45 +00:00
parent c6d3240529
commit 537a762d4b

View file

@ -271,7 +271,7 @@
x))) calc-user-formula-alist))
(if cmd
(progn
(calc-need-macros)
(require 'calc-macs)
(fset cmd
(list 'lambda
'()
@ -1711,7 +1711,7 @@
;;; Compiling Lisp-like forms to use the math library.
(defun math-do-defmath (func args body)
(calc-need-macros)
(require 'calc-macs)
(let* ((fname (intern (concat "calcFunc-" (symbol-name func))))
(doc (if (stringp (car body)) (list (car body))))
(clargs (mapcar 'math-clean-arg args))