]> git.eshelyaron.com Git - emacs.git/commitdiff
Allow using newer versions of Gnuplot from calc again
authorIllia Ostapyshyn <ilya.ostapyshyn@gmail.com>
Mon, 7 Dec 2020 12:36:34 +0000 (13:36 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Dec 2020 12:37:44 +0000 (13:37 +0100)
* lisp/calc/calc-graph.el (calc-graph-plot): Don't use the "time"
abbreviation for "timestamp" (bug#39232) -- it's no longer valid
after
https://github.com/gnuplot/gnuplot/commit/b979b5371bc1c18bf8f5bd756e7c1fb54dafd8cc

Copyright-paperwork-exempt: yes

lisp/calc/calc-graph.el

index 829fa44ca4f1d5afcdab025e8c42074cd593956b..b694a826ce588472a4870d26b1964ba0098d0a92 100644 (file)
         (if (>= ver 3)
             (insert "set surface\nset nocontour\n"
                     "set " (if calc-graph-is-splot "" "no") "parametric\n"
-                    "set notime\nset border\nset ztics\nset zeroaxis\n"
+                    "set notimestamp\nset border\nset ztics\nset zeroaxis\n"
                     "set view 60,30,1,1\nset offsets 0,0,0,0\n"))
         (setq samples-pos (point))
         (insert "\n\n" str))