emacs-devel
[Top][All Lists]
Advanced

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

Wrong extra argument to make-obsolete-overload in semantic/tag-file.el


From: Sascha Wilde
Subject: Wrong extra argument to make-obsolete-overload in semantic/tag-file.el
Date: Wed, 28 Oct 2009 14:22:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Hi *,

on Sun Oct 25 Stefan added a big bunch of `when' args to various
function calls in the semantic code.  This included the following
change:

diff -r 580466ce1a98 -r 2cc681b53a29 lisp/cedet/semantic/tag-file.el
--- a/lisp/cedet/semantic/tag-file.el   Sun Oct 25 02:07:45 2009 +0000
+++ b/lisp/cedet/semantic/tag-file.el   Sun Oct 25 02:55:27 2009 +0000
@@ -103,7 +103,7 @@
   )
 
 (make-obsolete-overload 'semantic-find-nonterminal
-                        'semantic-go-to-tag)
+                        'semantic-go-to-tag "23.2")
 
 ;;; Dependencies
 ;;
@@ -177,7 +177,7 @@
       )))
 
 (make-obsolete-overload 'semantic-find-dependency
-                        'semantic-dependency-tag-file)
+                        'semantic-dependency-tag-file "23.2")
 
 ;;; PROTOTYPE FILE
 ;;
which is wrong as the function make-obsolete-overload does only take two
arguments and no third `when' arg.

Simply reverting this change fixed semantic for me.

cheers
sascha
-- 
Sascha Wilde
    "Computers are good at following instructions,
     but not at reading your mind."
    D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9

reply via email to

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