[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (define-key MAP [t] ...)
From: |
Luc Teirlinck |
Subject: |
Re: (define-key MAP [t] ...) |
Date: |
Sat, 11 Jan 2003 17:39:00 -0600 (CST) |
I mean the text:
`(t . BINDING)'
This specifies a "default key binding"; any event not bound by
other elements of the keymap is given BINDING as its binding.
Default bindings allow a keymap to bind all possible event types
without having to enumerate all of them. A keymap that has a
default binding completely masks any lower-precedence keymap.
in the "Format of keymaps" section. I noticed though that I made
myself a note saying: "Use [t] for `key' to specify the default
binding" in the define-key definition of my own copy of the Elisp
manual. Since I felt the need to remind myself of that using a note
and you seem confused by it, you are probably right that adding a
small sentence to that effect in the define-key documentation might be
useful.
Sincerely,
Luc.
- None, Luc Teirlinck, 2003/01/11
- Re: your mail, Alan Mackenzie, 2003/01/11
- Re: (define-key MAP [t] ...),
Luc Teirlinck <=