I'm having trouble hiding the display of
which-func from powerline. I'm successfully showing it in the header, but it stubbornly won't be removed from powerline. I've tried the following:
(setq mode-line-format (delete (assoc 'which-func-mode mode-line-format) mode-line-format)) (setq mode-line-misc-info (delete (assoc 'which-func-mode mode-line-misc-info) mode-line-misc-info) (setq mode-line-format (assq-delete-all 'which-func-mode mode-line-format)) (setq mode-line-misc-info (assq-delete-all 'which-func-mode mode-line-misc-info))
Also tried the following, hooking into various points around both powerline and which-func:
(powerline-which-func 'which-func nil) (powerline-raw which-func-format nil 'l)
I've had this working in the past, but no joy this time round.