aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 4f57eda3cfc..1e3a708d85c 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -6754,8 +6754,6 @@ implementations: `python-mode' and `python-ts-mode'."
6754 6754
6755 (setq-local prettify-symbols-alist python-prettify-symbols-alist) 6755 (setq-local prettify-symbols-alist python-prettify-symbols-alist)
6756 6756
6757 (python-skeleton-add-menu-items)
6758
6759 (make-local-variable 'python-shell-internal-buffer) 6757 (make-local-variable 'python-shell-internal-buffer)
6760 6758
6761 (add-hook 'flymake-diagnostic-functions #'python-flymake nil t)) 6759 (add-hook 'flymake-diagnostic-functions #'python-flymake nil t))
@@ -6779,6 +6777,8 @@ implementations: `python-mode' and `python-ts-mode'."
6779 6777
6780 (add-hook 'which-func-functions #'python-info-current-defun nil t) 6778 (add-hook 'which-func-functions #'python-info-current-defun nil t)
6781 6779
6780 (python-skeleton-add-menu-items)
6781
6782 (when python-indent-guess-indent-offset 6782 (when python-indent-guess-indent-offset
6783 (python-indent-guess-indent-offset))) 6783 (python-indent-guess-indent-offset)))
6784 6784
@@ -6805,6 +6805,8 @@ implementations: `python-mode' and `python-ts-mode'."
6805 #'python--treesit-defun-name) 6805 #'python--treesit-defun-name)
6806 (treesit-major-mode-setup) 6806 (treesit-major-mode-setup)
6807 6807
6808 (python-skeleton-add-menu-items)
6809
6808 (when python-indent-guess-indent-offset 6810 (when python-indent-guess-indent-offset
6809 (python-indent-guess-indent-offset)) 6811 (python-indent-guess-indent-offset))
6810 6812