From: Gerd Möllmann Date: Sat, 15 Oct 2022 12:13:56 +0000 (+0200) Subject: Use make-package instead of make-vector X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=072e89afa119c0e35321edfb8bc0dfff89b6960d;p=emacs.git Use make-package instead of make-vector * lisp/cedet/semantic/lex.el (semantic-lex-make-type-table): Don't use obarray functionality. --- diff --git a/lisp/cedet/semantic/lex.el b/lisp/cedet/semantic/lex.el index b3c9e96538c..8aee46211cc 100644 --- a/lisp/cedet/semantic/lex.el +++ b/lisp/cedet/semantic/lex.el @@ -416,7 +416,7 @@ If optional argument PROPSPECS is non-nil, then interpret it, and apply those properties. PROPSPECS must be a list of (TYPE PROPERTY VALUE)." ;; Create the symbol hash table - (let* ((semantic-lex-types-obarray (make-vector 13 0)) + (let* ((semantic-lex-types-obarray (make-package "semantic-lex-types-obarray")) spec type tokens token alist default) ;; fill it with stuff (while specs