Function: htype:def-symbol
htype:def-symbol is a byte-compiled function defined in hact.el.
Signature
(htype:def-symbol TYPE)
Documentation
Return the abbreviated symbol used in the definition of a Hyperbole TYPE.
TYPE may be either an implicit button type or action type. It may be given as a string or a symbol.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hact.el
(defun htype:def-symbol (type)
"Return the abbreviated symbol used in the definition of a Hyperbole TYPE.
TYPE may be either an implicit button type or action type. It may be
given as a string or a symbol."
(let ((name (if (stringp type)
type
(symbol-name type))))
(when (string-match "\\`\\(ib\\|ac\\)types::" name)
(intern (substring name (match-end 0))))))