]> git.eshelyaron.com Git - emacs.git/commitdiff
Use make-package instead of make-vector
authorGerd Möllmann <gerd@gnu.org>
Sat, 15 Oct 2022 12:13:56 +0000 (14:13 +0200)
committerGerd Möllmann <gerd@gnu.org>
Sat, 15 Oct 2022 12:13:56 +0000 (14:13 +0200)
* lisp/cedet/semantic/lex.el (semantic-lex-make-type-table):
Don't use obarray functionality.

lisp/cedet/semantic/lex.el

index b3c9e96538ca2c765d35e760c11f5bfeb6097cd9..8aee46211cc535433cf64c1d782c1189239576b3 100644 (file)
@@ -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