Mercurial > emacs
changeset 31981:533a4e5f06e2
(easy-mmode-define-keymap): Autoload.
(easy-mmode-defmap): Remove the now useless autoload.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Fri, 29 Sep 2000 03:27:28 +0000 |
parents | ceb42baae241 |
children | ed0ed1c70495 |
files | lisp/emacs-lisp/easy-mmode.el |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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)) ;;;