* lisp/cedet/ede.el (ede-new): ... which we do here, and fix the
compilation warning about the obsolete
eieio-object-set-name-string function.
* lisp/cedet/ede/auto.el (ede-project-autoload): Inherit from
eieio-named, because we want to set the object name...
))
(inits (oref obj initializers)))
;; Force the name to match for new objects.
- (eieio-object-set-name-string nobj (oref nobj name))
+ (setf (slot-value nobj 'object-name) (oref nobj name))
;; Handle init args.
(while inits
(eieio-oset nobj (car inits) (car (cdr inits)))
(declare-function ede-directory-safe-p "ede")
(declare-function ede-add-project-to-global-list "ede")
-(defclass ede-project-autoload ()
+(defclass ede-project-autoload (eieio-named)
((name :initarg :name
:documentation "Name of this project type")
(file :initarg :file