emacs-diffs
[Top][All Lists]
Advanced

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

master 4ee5618c6b: ; Remove unused variable treesit-imenu-function


From: Stefan Kangas
Subject: master 4ee5618c6b: ; Remove unused variable treesit-imenu-function
Date: Fri, 25 Nov 2022 02:59:08 -0500 (EST)

branch: master
commit 4ee5618c6b1d53bc64edf6cf37adb8a0ffdacb0c
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    ; Remove unused variable treesit-imenu-function
    
    * lisp/treesit.el (treesit-imenu-function): Remove unused
    variable.  (Bug#59475)
---
 lisp/treesit.el | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/lisp/treesit.el b/lisp/treesit.el
index b8372d4f51..8a8f6f02c7 100644
--- a/lisp/treesit.el
+++ b/lisp/treesit.el
@@ -1609,14 +1609,6 @@ ARG is the same as in `beginning-of-defun'."
          (top (treesit--defun-maybe-top-level node)))
     (goto-char (treesit-node-end top))))
 
-;;; Imenu
-
-(defvar-local treesit-imenu-function nil
-  "Tree-sitter version of `imenu-create-index-function'.
-
-Set this variable to a function and `treesit-mode' will bind it
-to `imenu-create-index-function'.")
-
 ;;; Activating tree-sitter
 
 (defun treesit-ready-p (language &optional quiet)



reply via email to

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