summaryrefslogtreecommitdiff
path: root/lisp/calc
diff options
context:
space:
mode:
authorJay Belanger <jay.p.belanger@gmail.com>2004-11-30 17:10:43 +0000
committerJay Belanger <jay.p.belanger@gmail.com>2004-11-30 17:10:43 +0000
commit808cd573868d163b57c05d44ff8ac3ba026d6c74 (patch)
tree7df3ae2fe9283a89131e6d8f65bcae070b7e2039 /lisp/calc
parent300f28d368b3a9188a82c79c4ca587eae5484c9c (diff)
downloademacs-808cd573868d163b57c05d44ff8ac3ba026d6c74.tar.gz
Add a provide statement.
(calc-Need-calc-graph): Remove it. (calc-gnuplot-name, calc-gnuplot-plot-command, calc-gnuplot-print): Give them values.
Diffstat (limited to 'lisp/calc')
-rw-r--r--lisp/calc/calc-graph.el15
1 files changed, 11 insertions, 4 deletions
diff --git a/lisp/calc/calc-graph.el b/lisp/calc/calc-graph.el
index d4cc4c54518..b645b8692dd 100644
--- a/lisp/calc/calc-graph.el
+++ b/lisp/calc/calc-graph.el
@@ -27,16 +27,21 @@
;;; Code:
;; This file is autoloaded from calc-ext.el.
-(require 'calc-ext)
+(require 'calc-ext)
(require 'calc-macs)
-(defun calc-Need-calc-graph () nil)
+;;; Graphics
+
+(defvar calc-gnuplot-name "gnuplot"
+ "*Name of GNUPLOT program, for calc-graph features.")
+(defvar calc-gnuplot-plot-command nil
+ "*Name of command for displaying GNUPLOT output; %s = file name to print.")
-;;; Graphics
+(defvar calc-gnuplot-print-command "lp %s"
+ "*Name of command for printing GNUPLOT output; %s = file name to print.")
-;;; Note that some of the following initial values also occur in calc.el.
(defvar calc-gnuplot-tempfile "calc")
(defvar calc-gnuplot-default-device)
@@ -1472,5 +1477,7 @@ This \"dumb\" driver will be present in Gnuplot 3.0."
(goto-char (point-max))
(insert "\n"))))))
+(provide 'calc-graph)
+
;;; arch-tag: e4b06a52-c386-4d54-a2bb-7c0a0ef533c2
;;; calc-graph.el ends here