summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2015-05-10 22:08:07 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2015-05-10 22:08:07 -0400
commit70ac376aa5b8dd687f1735605ea863448e09ee47 (patch)
tree7f349438c73223175d302472c9670d5ca849c918
parent4b41540b424468aeca87b9b47ffda2be25c5dac4 (diff)
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.
-rw-r--r--lisp/cedet/srecode/dictionary.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/cedet/srecode/dictionary.el b/lisp/cedet/srecode/dictionary.el
index 97d3310a2a..27e730f9d6 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