Function: elisp-refs--describe-button

elisp-refs--describe-button is a byte-compiled function defined in elisp-refs.el.

Signature

(elisp-refs--describe-button SYMBOL KIND)

Documentation

Return a button that shows *Help* for SYMBOL.

KIND should be 'function, 'macro, 'variable, 'special or 'symbol.

Source Code

;; Defined in ~/.emacs.d/elpa/elisp-refs-20230920.201/elisp-refs.el
(defun elisp-refs--describe-button (symbol kind)
  "Return a button that shows *Help* for SYMBOL.
KIND should be 'function, 'macro, 'variable, 'special or 'symbol."
  (with-temp-buffer
    (insert (symbol-name kind) " ")
    (insert-text-button
     (symbol-name symbol)
     :type 'elisp-refs-describe-button
     'symbol symbol
     'kind kind)
    (buffer-string)))