diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 1ede66058e8..4b9a29845c5 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2838,6 +2838,8 @@ if that value is non-nil." | |||
| 2838 | (set (make-local-variable 'add-log-current-defun-function) | 2838 | (set (make-local-variable 'add-log-current-defun-function) |
| 2839 | #'python-info-current-defun) | 2839 | #'python-info-current-defun) |
| 2840 | 2840 | ||
| 2841 | (add-hook 'which-func-functions #'python-info-current-defun nil t) | ||
| 2842 | |||
| 2841 | (set (make-local-variable 'skeleton-further-elements) | 2843 | (set (make-local-variable 'skeleton-further-elements) |
| 2842 | '((abbrev-mode nil) | 2844 | '((abbrev-mode nil) |
| 2843 | (< '(backward-delete-char-untabify (min python-indent-offset | 2845 | (< '(backward-delete-char-untabify (min python-indent-offset |