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:
parent
c6d3240529
commit
537a762d4b
1 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue