aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/obarray.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/obarray.el')
-rw-r--r--lisp/obarray.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/obarray.el b/lisp/obarray.el
index aaffe00a072..a4631859925 100644
--- a/lisp/obarray.el
+++ b/lisp/obarray.el
@@ -37,6 +37,10 @@
37 (make-vector size 0) 37 (make-vector size 0)
38 (signal 'wrong-type-argument '(size 0))))) 38 (signal 'wrong-type-argument '(size 0)))))
39 39
40(defun obarray-size (obarray)
41 "Return the number of slots of OBARRAY."
42 (length obarray))
43
40(defun obarrayp (object) 44(defun obarrayp (object)
41 "Return t if OBJECT is an obarray." 45 "Return t if OBJECT is an obarray."
42 (and (vectorp object) 46 (and (vectorp object)