]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/progmodes/python.el (python-mode): Fix typo.
authorYuan Fu <casouri@gmail.com>
Sun, 25 Sep 2022 03:54:03 +0000 (20:54 -0700)
committerYuan Fu <casouri@gmail.com>
Sun, 25 Sep 2022 04:11:31 +0000 (21:11 -0700)
lisp/progmodes/python.el

index fb91d00053a531382269bc41245e3dcd0547b260..5b70c63f7b42ed85a33c3fc56d03acfc67a78bf3 100644 (file)
@@ -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))