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:
parent
89bd9ccd5b
commit
adf4e76281
2 changed files with 8 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue