[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 70ac376: CEDET (srecode-create-dictionary): Avoid o
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master 70ac376: CEDET (srecode-create-dictionary): Avoid obsolete object name |
Date: |
Mon, 11 May 2015 02:08:11 +0000 |
branch: master
commit 70ac376aa5b8dd687f1735605ea863448e09ee47
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
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 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/cedet/srecode/dictionary.el b/lisp/cedet/srecode/dictionary.el
index 97d3310..27e730f 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 70ac376: CEDET (srecode-create-dictionary): Avoid obsolete object name,
Stefan Monnier <=