From 70ac376aa5b8dd687f1735605ea863448e09ee47 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 10 May 2015 22:08:07 -0400 Subject: 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. --- lisp/cedet/srecode/dictionary.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisp/cedet/srecode') 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 -- cgit v1.2.3