diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-09-29 03:27:28 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2000-09-29 03:27:28 +0000 |
commit | 5d78d57daf53f6556fd9c5ff9179efe9878cdaff (patch) | |
tree | f32db24a7ef2bdc250fbcd2e2b7e29f019bf160b /lisp/emacs-lisp | |
parent | 57ce63c47017b2f81b576019f5a3fc7de58f84ff (diff) | |
download | emacs-5d78d57daf53f6556fd9c5ff9179efe9878cdaff.tar.gz emacs-5d78d57daf53f6556fd9c5ff9179efe9878cdaff.tar.bz2 emacs-5d78d57daf53f6556fd9c5ff9179efe9878cdaff.zip |
(easy-mmode-define-keymap): Autoload.
(easy-mmode-defmap): Remove the now useless autoload.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/easy-mmode.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index 0d1b092e515..58def617a91 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el @@ -283,6 +283,7 @@ in which `%s' turns it on." (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 @@ ARGS is a list of additional arguments." ;;;###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)) ;;; |