Function: erc-button-describe-symbol

erc-button-describe-symbol is a byte-compiled function defined in erc-button.el.gz.

Signature

(erc-button-describe-symbol SYMBOL-NAME)

Documentation

Describe SYMBOL-NAME.

Use describe-function for functions, describe-variable for variables, and apropos for other symbols.

Source Code

;; Defined in /usr/src/emacs/lisp/erc/erc-button.el.gz
;;; Callback functions
(defun erc-button-describe-symbol (symbol-name)
  "Describe SYMBOL-NAME.
Use `describe-function' for functions, `describe-variable' for variables,
and `apropos' for other symbols."
  (let ((symbol (intern-soft symbol-name)))
    (cond ((and symbol (fboundp symbol))
           (describe-function symbol))
          ((and symbol (boundp symbol))
           (describe-variable symbol))
          (t (apropos symbol-name)))))