diff options
| author | Jay Belanger | 2004-11-27 04:09:24 +0000 |
|---|---|---|
| committer | Jay Belanger | 2004-11-27 04:09:24 +0000 |
| commit | 90b44097293c3fcf786275193f9116cf76212236 (patch) | |
| tree | 9abd32c75b05f28ae1b5b6cb86dbbaadc4e2aabc | |
| parent | d37f2979c6e5307ff17d9986cc644b1178e0ee06 (diff) | |
| download | emacs-90b44097293c3fcf786275193f9116cf76212236.tar.gz emacs-90b44097293c3fcf786275193f9116cf76212236.zip | |
(calc-command-flags, calc-gnuplot-buffer, calc-gnuplot-input)
(math-normalize-a, math-integral-cache): Declare them.
| -rw-r--r-- | lisp/calc/calc-ext.el | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el index b35ae4f141b..13cda7daf81 100644 --- a/lisp/calc/calc-ext.el +++ b/lisp/calc/calc-ext.el | |||
| @@ -1176,6 +1176,9 @@ calc-kill calc-kill-region calc-yank)))) | |||
| 1176 | 1176 | ||
| 1177 | ;;;; Miscellaneous. | 1177 | ;;;; Miscellaneous. |
| 1178 | 1178 | ||
| 1179 | ;; calc-command-flags is declared in calc.el | ||
| 1180 | (defvar calc-command-flags) | ||
| 1181 | |||
| 1179 | (defun calc-clear-command-flag (f) | 1182 | (defun calc-clear-command-flag (f) |
| 1180 | (setq calc-command-flags (delq f calc-command-flags))) | 1183 | (setq calc-command-flags (delq f calc-command-flags))) |
| 1181 | 1184 | ||
| @@ -1654,7 +1657,8 @@ calc-kill calc-kill-region calc-yank)))) | |||
| 1654 | 1657 | ||
| 1655 | 1658 | ||
| 1656 | (defvar calc-gnuplot-process nil) | 1659 | (defvar calc-gnuplot-process nil) |
| 1657 | 1660 | (defvar calc-gnuplot-input) | |
| 1661 | (defvar calc-gnuplot-buffer) | ||
| 1658 | 1662 | ||
| 1659 | (defun calc-gnuplot-alive () | 1663 | (defun calc-gnuplot-alive () |
| 1660 | (and calc-gnuplot-process | 1664 | (and calc-gnuplot-process |
| @@ -2217,6 +2221,11 @@ calc-kill calc-kill-region calc-yank)))) | |||
| 2217 | (math-normalize (car a)) | 2221 | (math-normalize (car a)) |
| 2218 | (error "Can't use multi-valued function in an expression"))))) | 2222 | (error "Can't use multi-valued function in an expression"))))) |
| 2219 | 2223 | ||
| 2224 | ;; The variable math-normalize-a is local to math-normalize in calc.el, | ||
| 2225 | ;; but is used by math-normalize-nonstandard, which is called by | ||
| 2226 | ;; math-normalize. | ||
| 2227 | (defvar math-normalize-a) | ||
| 2228 | |||
| 2220 | (defun math-normalize-nonstandard () | 2229 | (defun math-normalize-nonstandard () |
| 2221 | (if (consp calc-simplify-mode) | 2230 | (if (consp calc-simplify-mode) |
| 2222 | (progn | 2231 | (progn |
| @@ -2656,6 +2665,10 @@ calc-kill calc-kill-region calc-yank)))) | |||
| 2656 | (eq (car-safe (symbol-value (nth 2 expr))) 'special-const)) | 2665 | (eq (car-safe (symbol-value (nth 2 expr))) 'special-const)) |
| 2657 | (memq (nth 2 expr) '(var-inf var-uinf var-nan))))) | 2666 | (memq (nth 2 expr) '(var-inf var-uinf var-nan))))) |
| 2658 | 2667 | ||
| 2668 | ;; The variable math-integral-cache is originally declared in calcalg2.el, | ||
| 2669 | ;; but is set by math-defintegral and math-definitegral2. | ||
| 2670 | (defvar math-integral-cache) | ||
| 2671 | |||
| 2659 | (defmacro math-defintegral (funcs &rest code) | 2672 | (defmacro math-defintegral (funcs &rest code) |
| 2660 | (setq math-integral-cache nil) | 2673 | (setq math-integral-cache nil) |
| 2661 | (append '(progn) | 2674 | (append '(progn) |