emacs-diffs
[Top][All Lists]
Advanced

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

feature/tree-sitter 9ed53535f5 15/15: ; * lisp/progmodes/python.el (pyth


From: Yuan Fu
Subject: feature/tree-sitter 9ed53535f5 15/15: ; * lisp/progmodes/python.el (python-mode): Fix typo.
Date: Sun, 25 Sep 2022 00:12:00 -0400 (EDT)

branch: feature/tree-sitter
commit 9ed53535f5543910f746662618927052dd718991
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>

    ; * lisp/progmodes/python.el (python-mode): Fix typo.
---
 lisp/progmodes/python.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index fb91d00053..5b70c63f7b 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -6143,7 +6143,7 @@ REPORT-FN is Flymake's callback function."
   (if (and python-use-tree-sitter
            (treesit-can-enable-p))
       (setq-local imenu-create-index-function
-                  #'python-treesit-imenu-create-index)
+                  #'python-imenu-treesit-create-index)
     (setq-local imenu-create-index-function
                 #'python-imenu-create-index))
 



reply via email to

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