[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/treesit-fold c14893d4ff 343/417: perf: Use built-in functi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/treesit-fold c14893d4ff 343/417: perf: Use built-in function for indentation |
Date: |
Mon, 1 Jul 2024 10:03:02 -0400 (EDT) |
branch: elpa/treesit-fold
commit c14893d4ff4bed006346d43c7c9c6e5450bce21f
Author: Jen-Chieh <jcs090218@gmail.com>
Commit: Jen-Chieh <jcs090218@gmail.com>
perf: Use built-in function for indentation
---
ts-fold-util.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ts-fold-util.el b/ts-fold-util.el
index 36799dc205..0f8cd4aed8 100644
--- a/ts-fold-util.el
+++ b/ts-fold-util.el
@@ -136,8 +136,7 @@ Optional argument TRIM, see function `ts-fold--get-face'."
(defun ts-fold--indentation (pos)
"Return current indentation by POS."
(goto-char pos)
- (beginning-of-visual-line)
- (back-to-indentation) (current-column))
+ (current-indentation))
;;
;; (@* "Math" )
- [nongnu] elpa/treesit-fold f581febc6f 243/417: Update README (#39), (continued)
- [nongnu] elpa/treesit-fold f581febc6f 243/417: Update README (#39), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a5ba7ce60b 248/417: README.md: fix typo (#43), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 5b0535c1af 256/417: test(Makefile); Ignore package-lint test, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold cde9c90b07 259/417: docs(README.md): Metnion YAML support, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 5ebe65e85d 262/417: docs: Fix more typo, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 8386b5b714 280/417: feat: Add Markdown support (#67), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 630b896b3f 277/417: feat: Add Haskell support (#65), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 08abd98ba4 272/417: feat: Add Dart support (#62), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold d20c3663f9 380/417: Update desc, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 2bb351bcf3 385/417: feat: Add on fold hook, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold c14893d4ff 343/417: perf: Use built-in function for indentation,
ELPA Syncer <=
- [nongnu] elpa/treesit-fold 858fb6fe1c 325/417: Update CHANGELOG.md, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 581af904c1 286/417: feat: Add GDScript support (#72), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 07da6590aa 348/417: feat: Add LLVM MIR support, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 03644fb5fa 341/417: fix(indicators): Rely on range itself, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 6ec049b140 310/417: feat: Add Make support (#90), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 75e72c658a 332/417: feat: Add Org support, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 9b25eeeb0b 404/417: chore: Update mouse face docstring, ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 6b759ca36e 402/417: Update README.org (#4), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold a9d4c2ec53 296/417: feat: Add XML support (#80), ELPA Syncer, 2024/07/01
- [nongnu] elpa/treesit-fold 5c45efb2d5 316/417: Update CHANGELOG.md, ELPA Syncer, 2024/07/01