From: Fabián Ezequiel Gallina Date: Thu, 17 May 2012 03:03:45 +0000 (-0300) Subject: Make `which-func-functions' defaults to '(python-info-current-defun) X-Git-Tag: emacs-24.2.90~1199^2~482 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c6d3df36da36ee383a6dcde5cce76175258ba269;p=emacs.git Make `which-func-functions' defaults to '(python-info-current-defun) --- 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