[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/parseclj 1f7fe675ae 172/185: Merge pull request #31 from c
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/parseclj 1f7fe675ae 172/185: Merge pull request #31 from clojure-emacs/remove-a-el-part-2 |
Date: |
Tue, 28 Dec 2021 14:05:33 -0500 (EST) |
branch: elpa/parseclj
commit 1f7fe675ae1f511567cb84f9078c7938f4890f25
Merge: 507720a632 ba04dbe334
Author: Arne Brasseur <arne.brasseur@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #31 from clojure-emacs/remove-a-el-part-2
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 dec638c5ca 153/185: Tweak the keywords, (continued)
- [nongnu] elpa/parseclj dec638c5ca 153/185: Tweak the keywords, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 5cf5cd5f53 182/185: Replace seq-doseq with mapcar... IDK, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 3de700b057 154/185: Add a changelog, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj f5f7ec1660 173/185: Release v1.0.1, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj b34d3e13a2 156/185: Support eval #=(foo...) forms, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj d659079598 174/185: Remove the remaining a.el dependency from non-test code, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 507720a632 170/185: Release 1.0, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 6d1c9c348a 184/185: Update CHANGELOG, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 61513d2c99 164/185: Merge pull request #27 from clojure-emacs/shebang-and-symbolic-values, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj e6bce85062 159/185: Update the CHANGELOG, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 1f7fe675ae 172/185: Merge pull request #31 from clojure-emacs/remove-a-el-part-2,
ELPA Syncer <=
- [nongnu] elpa/parseclj a8c4cf30fb 185/185: Correctly bump versions, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 7ae887b1de 037/185: Refactor clj-parse.el, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj a83816010e 039/185: Refactor clj-parse-test., ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 9d4c0b7b4b 041/185: Merge pull request #2 from volrath/tag-support, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 879ac980a8 056/185: Treat numbers with trailing symbol characters as lex errors, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 2781f0cd7f 088/185: Vocab chage: closer/opener => closing-token/opening-token, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 4fc37462ab 073/185: Make Travis use Cask, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj a71e57df4d 080/185: Rename clj-lex to parseclj-lex, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 168027fed5 094/185: Merge pull request #7 from lambdaisland/reorganize-package, ELPA Syncer, 2021/12/28
- [nongnu] elpa/parseclj 45bd6a7431 109/185: Clean up tests, ELPA Syncer, 2021/12/28