]> code.delx.au - gnu-emacs/blobdiff - lisp/cedet/ede/auto.el
Merge from emacs-24; up to 2012-12-27T08:21:08Z!rgm@gnu.org
[gnu-emacs] / lisp / cedet / ede / auto.el
index 22fce372e249cd6cf39f797c923fbfaecdad2d2b..c0baf0fc8f872252bf31567faeef438ddac1d88e 100644 (file)
@@ -199,8 +199,8 @@ added.  Possible values are:
             front of the list so more generic projects don't get priority."
   ;; First, can we identify PROJAUTO as already in the list?  If so, replace.
   (let ((projlist ede-project-class-files)
-       (projname (object-name-string projauto)))
-    (while (and projlist (not (string= (object-name-string (car projlist)) projname)))
+       (projname (eieio-object-name-string projauto)))
+    (while (and projlist (not (string= (eieio-object-name-string (car projlist)) projname)))
       (setq projlist (cdr projlist)))
 
     (if projlist