Function: htype:names
htype:names is a byte-compiled function defined in hact.el.
Signature
(htype:names TYPE-CATEGORY &optional SYM)
Documentation
Return a list of current definition names for TYPE-CATEGORY in priority order.
Definition names do not contain the category prefix.
TYPE-CATEGORY should be actypes, ibtypes or nil for all.
When optional SYM is given, return the name for that symbol only, if any.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hact.el
(defun htype:names (type-category &optional sym)
"Return a list of current definition names for TYPE-CATEGORY in priority order.
Definition names do not contain the category prefix.
TYPE-CATEGORY should be `actypes', `ibtypes' or nil for all.
When optional SYM is given, return the name for that symbol only, if any."
(let ((types (symset:get type-category 'symbols))
(sym-name (when sym (symbol-name sym))))
(if sym-name
;; Strip category from sym-name before looking for a match.
(progn (when (string-match "::" sym-name)
(setq sym (intern (substring sym-name (match-end 0)))))
(when (symtable:get sym (symtable:select type-category))
(symbol-name sym)))
(mapcar #'symbol-name types))))