emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/gnuplot 5fd785c 178/184: Fix test runner


From: ELPA Syncer
Subject: [nongnu] elpa/gnuplot 5fd785c 178/184: Fix test runner
Date: Sun, 29 Aug 2021 11:03:40 -0400 (EDT)

branch: elpa/gnuplot
commit 5fd785c47570687661cd850e64b8f363d6c88b2d
Author: mtreca <maxime.treca@gmail.com>
Commit: mtreca <maxime.treca@gmail.com>

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]