From: Jay Belanger Date: Tue, 30 Nov 2004 17:10:43 +0000 (+0000) Subject: Add a provide statement. X-Git-Tag: ttn-vms-21-2-B4~3535 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=808cd573868d163b57c05d44ff8ac3ba026d6c74;p=emacs.git Add a provide statement. (calc-Need-calc-graph): Remove it. (calc-gnuplot-name, calc-gnuplot-plot-command, calc-gnuplot-print): Give them values. --- 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