mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
cedet: Delete obsolete object name arg to EIEIO constructors
For classes that don't inherit from `eieio-named`, this argument is ignored anyway. * lisp/auth-source-pass.el (auth-source-pass-backend): Delete obsolete object-name argument to `auth-source-backend` constructor. * lisp/cedet/ede/config.el (ede-config-get-configuration): Delete obsolete object-name argument to ede-config constructor. * lisp/cedet/ede/cpp-root.el (ede-find-target): Delete obsolete object-name argument to `ede-cpp-root-target` constructor. * lisp/cedet/ede/locate.el (ede-enable-locate-on-project): Delete obsolete object-name argument to ede-locate constructor. * lisp/cedet/ede/project-am.el (project-am-load-makefile): Delete obsolete object-name argument to `project-am-makefile` constructor. * lisp/cedet/semantic/complete.el (semantic-complete-read-tag-buffer-deep) (semantic-complete-read-tag-local-members) (semantic-complete-read-tag-project, semantic-complete-read-tag-analyzer): Delete obsolete object-name argument to `semantic-collector-buffer-deep`, `semantic-collector-local-members`, `semantic-collector-project-brutish`, and `semantic-collector-analyze-completions` constructors. * lisp/cedet/semantic/db-ebrowse.el (semanticdb-create-database): Delete obsolete object-name argument to `semanticdb-project-database-ebrowse` constructor. * lisp/cedet/semantic/db-file.el (semanticdb-create-database): Delete obsolete object-name argument to `semanticdb-project-database-file` constructor. * lisp/cedet/semantic/db-typecache.el (semanticdb-get-typecache): Delete obsolete object-name argument to `semanticdb-typecache` constructor. * lisp/cedet/semantic/db.el (semanticdb-get-table-index) (semanticdb-create-table): Delete obsolete object-name argument to `semanticdb-default-find-index-class`, new-table-class, and desired-class constructors. * lisp/cedet/semantic/bovine/c.el (semantic-analyze-tag-references): * lisp/cedet/semantic/analyze/refs.el (semantic-analyze-tag-references-default): Delete obsolete object-name argument to `semantic-analyze-references` constructor. * lisp/cedet/srecode/compile.el (srecode-compile-templates): Delete obsolete object-name argument to `srecode-compile-state` and `srecode-dictionary-compound-variable` constructors. * lisp/cedet/srecode/cpp.el (srecode-semantic-apply-tag-to-dict) (srecode-c-apply-templates): Delete obsolete object-name argument to `srecode-semantic-tag` constructors. * lisp/cedet/srecode/dictionary.el (srecode-dictionary-add-entries) (srecode-compound-toString): Delete obsolete object-name argument to `srecode-dictionary-compound-variable` and `srecode-field` constructors. * lisp/cedet/srecode/insert.el (srecode-insert-method-field): Delete obsolete object-name argument to `srecode-field-value` constructor. * lisp/cedet/srecode/semantic.el (srecode-semantic-handle-:tag) (srecode-semantic-insert-tag, srecode-semantic-apply-tag-to-dict-default): Delete obsolete object-name argument to `srecode-semantic-tag` constructors. * lisp/cedet/srecode/table.el (srecode-mode-table-new): Delete obsolete object-name argument to `srecode-template-table` constructor.
This commit is contained in:
parent
f75f8f3d6a
commit
05680dc6c5
18 changed files with 24 additions and 51 deletions
|
|
@ -129,8 +129,7 @@ variable default values, and other things."
|
|||
larg nil nil)))
|
||||
;; Apply the sub-argument to the subdictionary.
|
||||
(srecode-semantic-apply-tag-to-dict
|
||||
(srecode-semantic-tag (semantic-tag-name larg)
|
||||
:prime larg)
|
||||
(srecode-semantic-tag :prime larg)
|
||||
subdict)
|
||||
)
|
||||
;; Next!
|
||||
|
|
@ -203,8 +202,7 @@ variable default values, and other things."
|
|||
(when (not tag)
|
||||
(error "No tag for current template. Use the semantic kill-ring"))
|
||||
(srecode-semantic-apply-tag-to-dict
|
||||
(srecode-semantic-tag (semantic-tag-name tag)
|
||||
:prime tag)
|
||||
(srecode-semantic-tag :prime tag)
|
||||
dict)))
|
||||
|
||||
;;; :tagtype ARGUMENT HANDLING
|
||||
|
|
@ -394,7 +392,7 @@ as `function' will leave point where code might be inserted."
|
|||
;; Resolve TAG into the dictionary. We may have a :tag arg
|
||||
;; from the macro such that we don't need to do this.
|
||||
(when (not (srecode-dictionary-lookup-name dict "TAG"))
|
||||
(let ((tagobj (srecode-semantic-tag (semantic-tag-name tag) :prime tag))
|
||||
(let ((tagobj (srecode-semantic-tag :prime tag))
|
||||
)
|
||||
(srecode-semantic-apply-tag-to-dict tagobj dict)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue