Function: button-category-symbol
button-category-symbol is a byte-compiled function defined in
button.el.gz.
Signature
(button-category-symbol TYPE)
Documentation
Return the symbol used by button-type TYPE to store properties.
Buttons inherit them by setting their category property to that symbol.
Source Code
;; Defined in /usr/src/emacs/lisp/button.el.gz
;;; Button types (which can be used to hold default properties for buttons)
;; Because button-type properties are inherited by buttons using the
;; special `category' property (implemented by both overlays and
;; text-properties), we need to store them on a symbol to which the
;; `category' properties can point. Instead of using the symbol that's
;; the name of each button-type, however, we use a separate symbol (with
;; `-button' appended, and uninterned) to store the properties. This is
;; to avoid name clashes.
;; [this is an internal function]
(defsubst button-category-symbol (type)
"Return the symbol used by `button-type' TYPE to store properties.
Buttons inherit them by setting their `category' property to that symbol."
(or (get type 'button-category-symbol)
(error "Unknown button type `%s'" type)))