[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/gnuplot ed930f3 116/184: Fix compile errors when testing f
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/gnuplot ed930f3 116/184: Fix compile errors when testing from command line |
Date: |
Sun, 29 Aug 2021 11:03:27 -0400 (EDT) |
branch: elpa/gnuplot
commit ed930f3d0e51f3bf4e45f499b4542bbeeddb1044
Author: joddie <jonxfield@gmail.com>
Commit: joddie <jonxfield@gmail.com>
Fix compile errors when testing from command line
---
gnuplot-context.el | 2 +-
gnuplot-test-context.el | 14 ++------------
2 files changed, 3 insertions(+), 13 deletions(-)
diff --git a/gnuplot-context.el b/gnuplot-context.el
index 18d8dcc..dfac86b 100644
--- a/gnuplot-context.el
+++ b/gnuplot-context.el
@@ -582,7 +582,7 @@ name; otherwise continues tokenizing up to the token at
point. FIXME"
;;
-(eval-when-compile
+(eval-and-compile
;; Compile a single pattern into a list of instructions. Leaves
;; calls to other rules as symbolic instructions (call SYMBOL) and
;; jumps, commits etc. as relative offsets; these are resolved into
diff --git a/gnuplot-test-context.el b/gnuplot-test-context.el
index 78c0cdf..dfc7046 100644
--- a/gnuplot-test-context.el
+++ b/gnuplot-test-context.el
@@ -2,14 +2,12 @@
;; automated tests for gnuplot-mode context matching
;;
-;; Because of eval-when-compile clauses, these tests only run when the
-;; interpreted version of "gnuplot-context" is loaded. TODO: Fix
-;; this. :-/
-(require 'gnuplot-context "gnuplot-context.el")
+(require 'gnuplot-context)
(require 'ert)
(eval-when-compile
+ (require 'cl)
(if (not (fboundp 'ert-deftest))
(defalias 'ert-deftest 'deftest))
@@ -30,14 +28,6 @@
(goto-char (point-max))
(gnuplot-tokenize)))
-(defmacro with-gnuplot-tokens-from-string (binding &rest body)
- (declare (indent 1))
- `(with-temp-buffer
- (gnuplot-mode)
- (insert ,(cadr binding))
- (let ((,(car binding) (gnuplot-tokenize)))
- ,@body)))
-
(defun gnuplot-simplify-tokens (tokens)
(mapcar
(lambda (token)
- [nongnu] elpa/gnuplot 9dd0e15 096/184: Avoid having text syntax-property changes mark buffer as modified, (continued)
- [nongnu] elpa/gnuplot 9dd0e15 096/184: Avoid having text syntax-property changes mark buffer as modified, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot c52bb6c 089/184: grammar fixes for new-style if statement and blocks, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot e457287 099/184: Add aclocal.m4 into repository, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot f5c4437 100/184: Reduce autotools dependency to version 2.61, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot e1ee092 097/184: Merge branch 'devel' containing 0.7 release candidate., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot d9ed05b 105/184: remove broken link from readme, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot aefd4f6 106/184: Cleanup version numbers and copyright dates, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 4858b0d 110/184: Set syntax table in comint buffer, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot c2aedf8 111/184: Add ERT tests to check comment and string syntax., ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 5efb8a9 112/184: Add Makefile targets to run all tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot ed930f3 116/184: Fix compile errors when testing from command line,
ELPA Syncer <=
- [nongnu] elpa/gnuplot 2f36b36 118/184: Update Makefile.in, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot a50ac2b 119/184: Add autoloaded `run-gnuplot` command, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot d0828c0 126/184: Make gnuplot-context-sensitive-mode a normal minor mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 71e3174 129/184: Remove un-needed run-after-load hackery, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot d899379 123/184: Clarify comments, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot 536f2c3 122/184: Put alias for missing syntax-ppss with the other workarounds, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot b6eea0b 133/184: Add :set function for customizing context-sensitive mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot c4d464a 125/184: Use `gnuplot-completion-at-point-function' instead of advice hackery, ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot da11bfa 128/184: New customize option `gnuplot-use-context-sensitive-completion', ELPA Syncer, 2021/08/29
- [nongnu] elpa/gnuplot f274ad7 138/184: Recommend to use GitHub bug tracker instead of E-mail, ELPA Syncer, 2021/08/29