# HG changeset patch # User Stefan Monnier # Date 970198048 0 # Node ID 533a4e5f06e2aedb12240a89a953f1fab63a5d4b # Parent ceb42baae241b3c079013bb419e6a4be760ffc11 (easy-mmode-define-keymap): Autoload. (easy-mmode-defmap): Remove the now useless autoload. diff -r ceb42baae241 -r 533a4e5f06e2 lisp/emacs-lisp/easy-mmode.el --- a/lisp/emacs-lisp/easy-mmode.el Fri Sep 29 03:26:00 2000 +0000 +++ b/lisp/emacs-lisp/easy-mmode.el Fri Sep 29 03:27:28 2000 +0000 @@ -283,6 +283,7 @@ (easy-mmode-set-keymap-parents m parents) m)))))) +;;;###autoload (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 @@ ;;;###autoload (defmacro easy-mmode-defmap (m bs doc &rest args) - `(progn - (autoload 'easy-mmode-define-keymap "easy-mmode") - (defconst ,m - (easy-mmode-define-keymap ,bs nil (if (boundp ',m) ,m) ,(cons 'list args)) - ,doc))) + `(defconst ,m + (easy-mmode-define-keymap ,bs nil (if (boundp ',m) ,m) ,(cons 'list args)) + ,doc)) ;;;