branch: elpa/gnuplot
commit 5fd785c47570687661cd850e64b8f363d6c88b2d
Author: mtreca <[email protected]>
Commit: mtreca <[email protected]>
Fix test runner
gnuplot and gnuplot-context should be loaded when the tests are ran.
There is probably a more elegant solution to require them when running
tests, but at least this works for now.
---
dot.el | 3 +++
gnuplot-context.el | 6 +++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/dot.el b/dot.el
index 75b3691..1d6b88b 100644
--- a/dot.el
+++ b/dot.el
@@ -3,3 +3,6 @@
(setq load-path (append (list ".") load-path)
byte-compile-verbose nil
byte-compile-warnings nil)
+
+(load "gnuplot")
+(load "gnuplot-context")
diff --git a/gnuplot-context.el b/gnuplot-context.el
index a81639b..e688cff 100644
--- a/gnuplot-context.el
+++ b/gnuplot-context.el
@@ -250,11 +250,11 @@
;;;; The tokenizer.
-(defstruct gnuplot-token
- start ; Buffer start position
+(cl-defstruct gnuplot-token
+ start ; Buffer start position
end ; Buffer end position
id ; Text
- type) ; a symbol: name, number, string, operator, separator
+ type) ; a symbol: name, number, string, operator, separator
(defvar gnuplot-operator-regexp
(eval-when-compile