`which-func[tion]-mode` does support this. ```el (setq which-func-modes '(python-mode)) (which-func-mode 1) ``` FYI you would have found this quickly with: <kbd>M-x</kbd> `customize-group` <kbd>RET</kbd> `which-func` <kbd>RET</kbd>