Function: apropos-variable

apropos-variable is an autoloaded, interactive and byte-compiled function defined in apropos.el.gz.

Signature

(apropos-variable PATTERN &optional DO-NOT-ALL)

Documentation

Show variables that match PATTERN.

With the optional argument DO-NOT-ALL non-nil (or when called interactively with the prefix C-u (universal-argument)), show user options only, i.e. behave like apropos-user-option.

View in manual

Probably introduced at or before Emacs version 20.3.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/apropos.el.gz
;;;###autoload
(defun apropos-variable (pattern &optional do-not-all)
  "Show variables that match PATTERN.
With the optional argument DO-NOT-ALL non-nil (or when called
interactively with the prefix \\[universal-argument]), show user
options only, i.e. behave like `apropos-user-option'."
  (interactive (list (apropos-read-pattern
		      (if current-prefix-arg "user option" "variable"))
                     current-prefix-arg))
  (let ((apropos-do-all (if do-not-all nil t)))
    (apropos-user-option pattern)))