Commit 5d78d57d authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(easy-mmode-define-keymap): Autoload.

(easy-mmode-defmap): Remove the now useless autoload.
parent 57ce63c4
......@@ -283,6 +283,7 @@ in which `%s' turns it on."
(easy-mmode-set-keymap-parents m parents)
(defun easy-mmode-define-keymap (bs &optional name m args)
"Return a keymap built from bindings BS.
BS must be a list of (KEY . BINDING) where
......@@ -322,11 +323,9 @@ ARGS is a list of additional arguments."
(defmacro easy-mmode-defmap (m bs doc &rest args)
(autoload 'easy-mmode-define-keymap "easy-mmode")
(defconst ,m
(easy-mmode-define-keymap ,bs nil (if (boundp ',m) ,m) ,(cons 'list args))
`(defconst ,m
(easy-mmode-define-keymap ,bs nil (if (boundp ',m) ,m) ,(cons 'list args))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment