diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-11-25 08:57:57 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-11-25 08:58:57 +0100 |
commit | 4ee5618c6b1d53bc64edf6cf37adb8a0ffdacb0c (patch) | |
tree | 957204135f9235e8a0db2ba42194c80ea5867ed6 /lisp/treesit.el | |
parent | 28c444f72a9843ce335032db1fa0f484dfeb4833 (diff) | |
download | emacs-4ee5618c6b1d53bc64edf6cf37adb8a0ffdacb0c.tar.gz emacs-4ee5618c6b1d53bc64edf6cf37adb8a0ffdacb0c.tar.bz2 emacs-4ee5618c6b1d53bc64edf6cf37adb8a0ffdacb0c.zip |
; Remove unused variable treesit-imenu-function
* lisp/treesit.el (treesit-imenu-function): Remove unused
variable. (Bug#59475)
Diffstat (limited to 'lisp/treesit.el')
-rw-r--r-- | lisp/treesit.el | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lisp/treesit.el b/lisp/treesit.el index b8372d4f51f..8a8f6f02c79 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) |