changeset 33433:e8794ae4f856

(easy-mmode-define-keymap): Add keyword arg :name.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sun, 12 Nov 2000 18:09:09 +0000
parents 7f6ffdaecedc
children 032684266f4b
files lisp/emacs-lisp/easy-mmode.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/easy-mmode.el	Sun Nov 12 16:59:52 2000 +0000
+++ b/lisp/emacs-lisp/easy-mmode.el	Sun Nov 12 18:09:09 2000 +0000
@@ -315,12 +315,13 @@
 KEY and BINDINGS are suitable for `define-key'.
 Optional NAME is passed to `make-sparse-keymap'.
 Optional map M can be used to modify an existing map.
-ARGS is a list of additional arguments."
+ARGS is a list of additional keyword arguments."
   (let (inherit dense suppress)
     (while args
       (let ((key (pop args))
 	    (val (pop args)))
 	(case key
+	 (:name (setq name val))
 	 (:dense (setq dense val))
 	 (:inherit (setq inherit val))
 	 (:group)