[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7803: 23.1; Need better definition of vector notation in define-key
From: |
Glenn Morris |
Subject: |
bug#7803: 23.1; Need better definition of vector notation in define-key |
Date: |
Fri, 07 Jan 2011 20:50:04 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Larry Evans wrote:
> Ah, so when it says:
>
> If KEY is `[t]', this sets the default binding in KEYMAP.
>
> it means:
You're overthinking it. It means literally what it says: a vector with
a single element `t'. Not a vector with any other contents.
`t' in Emacs documentation always means the special symbol `t', for truth.
Rather than reading the Lispref, the Emacs manual offers a better
introduction to key bindings for the purposes of user customization.
(I admit I couldn't see a clear mention of "S-" = "shift" there, though.)