* lisp/progmodes/which-func.el (which-function): Silence imenu errors.