From c6d3df36da36ee383a6dcde5cce76175258ba269 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= Date: Thu, 17 May 2012 00:03:45 -0300 Subject: [PATCH] Make `which-func-functions' defaults to '(python-info-current-defun) --- lisp/progmodes/python.el | 2 ++ 1 file changed, 2 insertions(+) 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." (set (make-local-variable 'add-log-current-defun-function) #'python-info-current-defun) + (add-hook 'which-func-functions #'python-info-current-defun nil t) + (set (make-local-variable 'skeleton-further-elements) '((abbrev-mode nil) (< '(backward-delete-char-untabify (min python-indent-offset -- 2.39.2