unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Using keymap argument of define-minor-mode
@ 2016-04-15 11:57 Philipp Stephani
  2016-04-15 12:36 ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Philipp Stephani @ 2016-04-15 11:57 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

The docstring of `define-minor-mode' says that KEYMAP can be a list of
arguments to `easy-mmode-define-keymap'. However, this doesn't seem to work:

(define-minor-mode test-mode nil
  :keymap '((([?a] . ignore)) :inherit grep-mode-map))

This attempts to call `easy-mmode-define-keymap' with the single
argument ((([97]
. ignore)) :inherit grep-mode-map), so it doesn't interpret the list as
list of arguments. Is the syntax somehow different, or is this a bug?

Thanks,
Philipp


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-12-07 12:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15 11:57 Using keymap argument of define-minor-mode Philipp Stephani
2016-04-15 12:36 ` Stefan Monnier
2016-04-15 20:02   ` Philipp Stephani
2016-04-15 21:18     ` Stefan Monnier
2016-04-16 13:16       ` Philipp Stephani
2016-04-18 16:32         ` Stefan Monnier
2016-04-18 16:42           ` Kaushal Modi
2016-04-18 18:42             ` John Wiegley
2016-12-07 12:59               ` Philipp Stephani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).