[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/parseclj ba04dbe334 171/185: Remove remaining a-list call,
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/parseclj ba04dbe334 171/185: Remove remaining a-list call, move a.el to be test-only |
Date: |
Tue, 28 Dec 2021 14:05:33 -0500 (EST) |
branch: elpa/parseclj
commit ba04dbe334d7694bde490f9f46f6af3fb9dd1f82
Author: Arne Brasseur <arne@arnebrasseur.net>
Commit: Arne Brasseur <arne@arnebrasseur.net>
Remove remaining a-list call, move a.el to be test-only
---
CHANGELOG.md | 4 ++++
parseclj-ast.el | 1 -
parseclj-lex.el | 2 +-
parseclj.el | 6 ++++--
test/parseclj-ast-test.el | 1 +
5 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7c147104d3..c36353dce4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# Unreleased
+## 1.0.1 (2021-09-27)
+
+- Remove remaining a.el usage
+
## 1.0.0 (2021-09-27)
- Added a `:read-one` option to read/parse a single form at a time
diff --git a/parseclj-ast.el b/parseclj-ast.el
index 7bdc3a1c0a..2470b06ed7 100644
--- a/parseclj-ast.el
+++ b/parseclj-ast.el
@@ -27,7 +27,6 @@
;;; Code:
-(require 'a)
(require 'seq)
(require 'subr-x)
(require 'parseclj-lex)
diff --git a/parseclj-lex.el b/parseclj-lex.el
index d5a817c0d8..8752f5dbd1 100644
--- a/parseclj-lex.el
+++ b/parseclj-lex.el
@@ -74,7 +74,7 @@ Tokens at a mimimum have these attributes
- POS: the position in the input, starts from 1 (like point)
Other ATTRIBUTES can be given as a flat list of key-value pairs."
- (apply 'a-list :token-type type :form form :pos pos attributes))
+ (apply #'parseclj-alist :token-type type :form form :pos pos attributes))
(defun parseclj-lex-error-token (pos &optional error-type)
"Create a lexer error token starting at POS.
diff --git a/parseclj.el b/parseclj.el
index c2e2372338..8d85bf080a 100644
--- a/parseclj.el
+++ b/parseclj.el
@@ -31,8 +31,7 @@
;;; Code:
(require 'map)
-(require 'parseclj-parser)
-(require 'parseclj-ast)
+(require 'seq)
(defun parseclj-alist (&rest kvs)
"Create an association list from the given keys and values KVS.
@@ -42,6 +41,9 @@ For example: (parseclj-alist :foo 123 :bar 456)"
;; (map-into kvs 'alist)
(mapcar (lambda (kv) (cons (car kv) (cadr kv))) (seq-partition kvs 2)))
+(require 'parseclj-parser)
+(require 'parseclj-ast)
+
(defun parseclj-hash-table (&rest kvs)
"Create a hash table from the given keys and values KVS.
Arguments are simply provided in sequence, rather than as lists
diff --git a/test/parseclj-ast-test.el b/test/parseclj-ast-test.el
index 5707500359..4ac9355c2c 100644
--- a/test/parseclj-ast-test.el
+++ b/test/parseclj-ast-test.el
@@ -27,6 +27,7 @@
;;; Code
+(require 'a)
(require 'ert)
(require 'parseclj-ast)
- [nongnu] elpa/parseclj 1f8e449897 105/185: Simplify error messages, (continued)
- [nongnu] elpa/parseclj 1f8e449897 105/185: Simplify error messages, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj f362018ff1 112/185: Silence the byte-compiler about some unused vars., ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 70804992ee 122/185: Merge pull request #14 from lambdaisland/parseclj-lex-symbol-fix, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 19ca5f5bd0 121/185: Stick to the previous Travis Trusty image, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj b2550e6456 133/185: Add docstring for `parseclj-lex--string-value`, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 13059d8529 138/185: Minor checkdoc fixes, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 49c715ed22 148/185: For prefix-2 elements: pass children to reduce in right order, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj dc0d165b0a 152/185: Merge pull request #23 from clojure-emacs/read-one, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 62c9bf9126 177/185: Remove the last remains of a.el, restructure requires, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 517a371616 166/185: Use map-elt instead of parseclj-alist-get, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj ba04dbe334 171/185: Remove remaining a-list call, move a.el to be test-only,
ELPA Syncer <=
- [nongnu] elpa/parseclj 48abe456c6 155/185: Update the installation instructions, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj b234692020 157/185: error on unmatched closing paren/brace, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 1bb3800f8f 162/185: Update CHANGELOG, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj fcebf65075 180/185: Provide parseclj-alist-merge for older Emacsen, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj eff9411268 161/185: Merge pull request #26 from ikappaki/master, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 689ebddbdd 158/185: Add support for shebang and symbolic values, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 1e46607912 015/185: Split files into packages, More test setup, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj a9dba19760 086/185: Clean up node and token types, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 9480ae09b3 068/185: push is destructive, in this case cons will do, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj f395b9cbcc 097/185: Move `parseclj--leaf-token-value` to `parseedn` module, ELPA Syncer, 2021/12/28