diff options
| author | Fabián Ezequiel Gallina | 2012-05-17 00:03:45 -0300 |
|---|---|---|
| committer | Fabián Ezequiel Gallina | 2012-05-17 00:03:45 -0300 |
| commit | c6d3df36da36ee383a6dcde5cce76175258ba269 (patch) | |
| tree | 0cefe6d3b9cf184963acbfd8a518aa2977785c95 /lisp/progmodes/python.el | |
| parent | 4289485a58810ee957c4151f8795b5fe717f264a (diff) | |
| download | emacs-c6d3df36da36ee383a6dcde5cce76175258ba269.tar.gz emacs-c6d3df36da36ee383a6dcde5cce76175258ba269.zip | |
Make `which-func-functions' defaults to '(python-info-current-defun)
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 |