all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Glenn Morris'" <rgm@gnu.org>, "'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 06:58:46 -0700	[thread overview]
Message-ID: <6CD52D0A136242E89624EBD089EB6787@us.oracle.com> (raw)
In-Reply-To: <hfk47y7r6f.fsf@fencepost.gnu.org>

> >      If KEYMAP is not a symbol, this also defines the 
> >      variable 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.

It might be clearer to say just what you said, i.e., something like "If you pass
a non-symbol KEYMAP argument..." or even more explicitly, "If KEYMAP is a cons
that is a keymap..."






  reply	other threads:[~2011-10-21 13:58 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
2011-10-21 13:58   ` Drew Adams [this message]
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=6CD52D0A136242E89624EBD089EB6787@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=9819@debbugs.gnu.org \
    --cc=deniz@dogan.se \
    --cc=rgm@gnu.org \
    /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.