emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r106805: lisp/progmodes/which-func.el


From: Juanma Barranquero
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r106805: lisp/progmodes/which-func.el (which-func-mode): Fix bug#10428.
Date: Sat, 07 Jan 2012 01:26:10 +0100
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 106805
fixes bug(s): http://debbugs.gnu.org/10428
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Sat 2012-01-07 01:26:10 +0100
message:
  lisp/progmodes/which-func.el (which-func-mode): Fix bug#10428.
  Turn into a non-interactive function and mark as obsolete.
modified:
  lisp/ChangeLog
  lisp/progmodes/which-func.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-01-06 10:53:41 +0000
+++ b/lisp/ChangeLog    2012-01-07 00:26:10 +0000
@@ -1,3 +1,8 @@
+2012-01-07  Juanma Barranquero  <address@hidden>
+
+       * progmodes/which-func.el (which-func-mode): Turn into a
+       non-interactive function and mark as obsolete (bug#10428).
+
 2012-01-06  Chong Yidong  <address@hidden>
 
        * files.el (hack-dir-local-variables-non-file-buffer): Add doc.

=== modified file 'lisp/progmodes/which-func.el'
--- a/lisp/progmodes/which-func.el      2012-01-05 09:46:05 +0000
+++ b/lisp/progmodes/which-func.el      2012-01-07 00:26:10 +0000
@@ -229,7 +229,9 @@
         (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)
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]