1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00

lisp/progmodes/which-func.el (which-func-mode): Fix bug#10428.

Turn into a non-interactive function and mark as obsolete.
This commit is contained in:
Juanma Barranquero 2012-01-07 01:26:10 +01:00
parent 89bd9ccd5b
commit adf4e76281
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -229,7 +229,9 @@ It creates the Imenu index for the buffer, if necessary."
(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)