Turn into a non-interactive function and mark as obsolete.
+2012-01-07 Juanma Barranquero <lekktu@gmail.com>
+
+ * progmodes/which-func.el (which-func-mode): Turn into a
+ non-interactive function and mark as obsolete (bug#10428).
+
2012-01-06 Chong Yidong <cyd@gnu.org>
* files.el (hack-dir-local-variables-non-file-buffer): Add doc.
(error "Error in which-func-update: %S" info))))))
;;;###autoload
-(defalias 'which-func-mode 'which-function-mode)
+(defun which-func-mode (&optional arg)
+ (which-function-mode arg))
+(make-obsolete 'which-func-mode 'which-function-mode "24.1")
(defvar which-func-update-timer nil)