emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/treesit-fold 4f281a727f 097/417: Use autoload instead


From: ELPA Syncer
Subject: [nongnu] elpa/treesit-fold 4f281a727f 097/417: Use autoload instead
Date: Mon, 1 Jul 2024 10:02:15 -0400 (EDT)

branch: elpa/treesit-fold
commit 4f281a727f32d2b34a5bbbf7ea8abe2479ffceb3
Author: Jen-Chieh Shen <jcs090218@gmail.com>
Commit: Jen-Chieh Shen <jcs090218@gmail.com>

    Use autoload instead
---
 tree-sitter-fold-indicators.el | 1 +
 tree-sitter-fold.el            | 6 ------
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/tree-sitter-fold-indicators.el b/tree-sitter-fold-indicators.el
index bf354ce419..a1283294b3 100644
--- a/tree-sitter-fold-indicators.el
+++ b/tree-sitter-fold-indicators.el
@@ -243,6 +243,7 @@
         (end (tsc-node-end-position node)))
     (tree-sitter-fold-indicators--create-overlays node beg end)))
 
+;;;###autoload
 (defun tree-sitter-fold-indicators-refresh (&rest _)
   "Refresh indicators for all folding range."
   (when tree-sitter-fold-indicators-mode
diff --git a/tree-sitter-fold.el b/tree-sitter-fold.el
index 30ff0826a2..cd3057063f 100644
--- a/tree-sitter-fold.el
+++ b/tree-sitter-fold.el
@@ -119,12 +119,6 @@ the fold in a cons cell.  See 
`tree-sitter-fold-range-python' for an example."
   "Face used to display fringe contents."
   :group 'tree-sitter-fold)
 
-;;
-;; (@* "Externals" )
-;;
-
-(declare-function tree-sitter-fold-indicators-refresh 
"tree-sitter-fold-indicators.el")
-
 ;;
 ;; (@* "Entry" )
 ;;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]