From: Glenn Morris <rgm@gnu.org>
To: Deniz Dogan <deniz@dogan.se>
Cc: 9819@debbugs.gnu.org
Subject: bug#9819: 24.0.50; Docstring of `define-minor-mode' and KEYMAP
Date: Fri, 21 Oct 2011 03:13:44 -0400 [thread overview]
Message-ID: <hfk47y7r6f.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <86sjmns236.fsf@dogan.se> (Deniz Dogan's message of "Fri, 21 Oct 2011 00:57:49 +0200")
Deniz Dogan wrote:
> If KEYMAP is not a symbol, this also defines the variable MODE-map.
[...]
> The way I interpret that is: if I don't pass a KEYMAP argument, it will
> define a variable named `MODE-map'.
nil is a symbol. :(
If you pass a keymap argument that is not a symbol, eg:
:keymap '(("\C-a" . foo-command)
then a `foo-mode-map' variable will be defined and given that map as its
value.
next prev parent reply other threads:[~2011-10-21 7:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-20 22:57 bug#9819: 24.0.50; Docstring of `define-minor-mode' and KEYMAP Deniz Dogan
2011-10-21 7:13 ` Glenn Morris [this message]
2011-10-21 13:58 ` Drew Adams
2011-10-24 17:37 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=hfk47y7r6f.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=9819@debbugs.gnu.org \
--cc=deniz@dogan.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.