Function: defvoo

defvoo is a macro defined in nnoo.el.gz.

Signature

(defvoo VAR INIT &optional DOC &rest MAP)

Documentation

The same as defvar, only takes list of variables to MAP to.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nnoo.el.gz
(defmacro defvoo (var init &optional doc &rest map)
  "The same as `defvar', only takes list of variables to MAP to."
  (declare (indent 2)
           (doc-string 3)
           (debug (var init &optional doc &rest map)))
  `(prog1
       ,(if doc
	    `(defvar ,var ,init ,(concat doc "\n\nThis is a Gnus server variable.  See Info node `(gnus)Select Methods'."))
	  `(defvar ,var ,init))
     (nnoo-define ',var ',map)))