(calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as the default.
authorEli Zaretskii <eliz@gnu.org>
Fri, 7 Aug 2009 14:52:56 +0000 (14:52 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 7 Aug 2009 14:52:56 +0000 (14:52 +0000)
lisp/calc/calc.el

index 59dde09..b291969 100644 (file)
@@ -393,7 +393,7 @@ This is not required to be present for user-written mode annotations."
                                   (string :tag "Closing annotation delimiter"))))
 
 (defcustom calc-gnuplot-name
-  "gnuplot"
+  (if (eq system-type 'windows-nt) "pgnuplot" "gnuplot")
   "Name of GNUPLOT program, for calc-graph features."
   :group 'calc
   :type '(string))