Function: gnus-registry-install-p

gnus-registry-install-p is an interactive and byte-compiled function defined in gnus-registry.el.gz.

Signature

(gnus-registry-install-p)

Documentation

Return non-nil if the registry is enabled (and maybe enable it first).

If the registry is not already enabled, then if gnus-registry-install is ask, ask the user; or if gnus-registry-install is non-nil, enable it.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/gnus-registry.el.gz
(defun gnus-registry-install-p ()
  "Return non-nil if the registry is enabled (and maybe enable it first).
If the registry is not already enabled, then if `gnus-registry-install'
is `ask', ask the user; or if `gnus-registry-install' is non-nil, enable it."
  (interactive)
  (unless gnus-registry-db
    (when (if (eq gnus-registry-install 'ask)
              (gnus-y-or-n-p
               (concat "Enable the Gnus registry?  "
                       "See the variable `gnus-registry-install' "
                       "to get rid of this query permanently. "))
            gnus-registry-install)
      (gnus-registry-initialize)))
  (null (null gnus-registry-db)))