emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

pkg 072e89afa1 23/76: Use make-package instead of make-vector


From: Gerd Moellmann
Subject: pkg 072e89afa1 23/76: Use make-package instead of make-vector
Date: Fri, 21 Oct 2022 00:16:11 -0400 (EDT)

branch: pkg
commit 072e89afa119c0e35321edfb8bc0dfff89b6960d
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>

    Use make-package instead of make-vector
    
    * lisp/cedet/semantic/lex.el (semantic-lex-make-type-table):
    Don't use obarray functionality.
---
 lisp/cedet/semantic/lex.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/cedet/semantic/lex.el b/lisp/cedet/semantic/lex.el
index b3c9e96538..8aee46211c 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]