[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold fe3e7610b1 403/417: fix: `treesit-fold-close-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold fe3e7610b1 403/417: fix: `treesit-fold-close-all` raises an wrong type error (#5) |
Date: |
Mon, 1 Jul 2024 10:03:10 -0400 (EDT) |
branch: elpa/treesit-fold
commit fe3e7610b1a8c8066db0142fe1044de2a9b79337
Author: Abdelhak Bougouffa <abougouffa@cryptolab.net>
Commit: GitHub <noreply@github.com>
fix: `treesit-fold-close-all` raises an wrong type error (#5)
---
treesit-fold.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/treesit-fold.el b/treesit-fold.el
index 43899e1114..3f69c39abd 100644
--- a/treesit-fold.el
+++ b/treesit-fold.el
@@ -510,10 +510,9 @@ If the current node is not folded or not foldable, do
nothing."
(treesit-fold-on-fold-hook)
(node (treesit-buffer-root-node))
(patterns (seq-mapcat (lambda (fold-range) `((,(car fold-range))
@name))
- (alist-get major-mode
treesit-fold-range-alist)
- ))
+ (alist-get major-mode
treesit-fold-range-alist)))
(query (treesit-query-compile (treesit-node-language node)
patterns)))
- (setq nodes (treesit-query-capture node query nil nil t)
+ (setq nodes (treesit-query-capture node query)
nodes (cl-remove-if (lambda (node)
;; Removed if on same line
(treesit-fold--node-range-on-same-line
(cdr node)))
- [nongnu] elpa/treesit-fold 0d884a4217 224/417: refactor(checkdoc): Fix checkdoc warnings (#23), (continued)
- [nongnu] elpa/treesit-fold 0d884a4217 224/417: refactor(checkdoc): Fix checkdoc warnings (#23), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 1cb784167a 235/417: Add FUNDING.yml, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold c3da5520b9 237/417: tests(test.yml): Add test for Emacs 28.2, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 85db0117ea 240/417: tests: Avoid actions' warnings, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a64f5252a6 244/417: Add .dir-locals.el (#40), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 9776e2fa2c 247/417: Update copyright year, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 56e6743bac 252/417: feat: Improve folding for C preproc operators (#46), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 9d9e0c5cf7 257/417: Add more folding definitions (#51), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 54d12c9822 281/417: feat: Add TOML support (#68), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold b1021c2acb 293/417: feat: Add Noir support (#77), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold fe3e7610b1 403/417: fix: `treesit-fold-close-all` raises an wrong type error (#5),
ELPA Syncer <=
- [nongnu] elpa/treesit-fold 993db0aa02 383/417: feat: Enhance SQL folding, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 0b48d9b286 355/417: reordered the alists for alphabetical ordering, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 27c0fd0c7e 361/417: style: Place functions in alphabetic order, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold e36498c9e1 323/417: docs: Apply new changes from line-reminder, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a6c75c8373 334/417: Bump version, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold e704add10d 340/417: fix(llvm): Fix folding for LLVM's label, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 41c13ff0e2 416/417: 2 bug fix (#10), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold eb714e2c21 408/417: feat: Add Gleam support (#8), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 14e3f13f67 415/417: feat: Enhance the Gleam support (#9), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 7833eb31ab 096/417: Function void, ELPA Syncer, 2024/07/01