Function: easy-mmode-defmap

easy-mmode-defmap is an autoloaded macro defined in easy-mmode.el.gz.

This macro is obsolete since 29.1; use defvar-keymap instead.

Signature

(easy-mmode-defmap M BS DOC &rest ARGS)

Documentation

Define a constant M whose value is the result of easy-mmode-define-keymap.

The M, BS, and ARGS arguments are as per that function. DOC is the constant's documentation.

This macro is deprecated; use defvar-keymap instead.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/easy-mmode.el.gz
;;;###autoload
(defmacro easy-mmode-defmap (m bs doc &rest args)
  "Define a constant M whose value is the result of `easy-mmode-define-keymap'.
The M, BS, and ARGS arguments are as per that function.  DOC is
the constant's documentation.

This macro is deprecated; use `defvar-keymap' instead."
  (declare (doc-string 3) (indent 1) (obsolete defvar-keymap "29.1"))
  `(defconst ,m
     (easy-mmode-define-keymap ,bs nil (if (boundp ',m) ,m) ,(cons 'list args))
     ,doc))