From: Stefan Monnier Date: Mon, 11 May 2015 02:08:07 +0000 (-0400) Subject: CEDET (srecode-create-dictionary): Avoid obsolete object name X-Git-Tag: emacs-25.0.90~2124 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=70ac376aa5b8dd687f1735605ea863448e09ee47;p=emacs.git CEDET (srecode-create-dictionary): Avoid obsolete object name * lisp/cedet/srecode/dictionary.el (srecode-create-dictionary): Don't use a symbol as an object name. Reported by Pierre Lorenzon. --- diff --git a/lisp/cedet/srecode/dictionary.el b/lisp/cedet/srecode/dictionary.el index 97d3310a2ae..27e730f9d6a 100644 --- a/lisp/cedet/srecode/dictionary.el +++ b/lisp/cedet/srecode/dictionary.el @@ -195,8 +195,8 @@ associated with a buffer or parent." initfrombuff t))) ;; Create the new dictionary object. - (let ((dict (srecode-dictionary - major-mode + (let ((dict (make-instance + 'srecode-dictionary :buffer buffer :parent parent :namehash (make-hash-table :test 'equal