[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20528: 25.0.50; `keymap' property to work for symbol-value, not just
From: |
Andreas Schwab |
Subject: |
bug#20528: 25.0.50; `keymap' property to work for symbol-value, not just symbol-function |
Date: |
Fri, 08 May 2015 17:33:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> writes:
>> > Please allow it to also be a symbol, such as `Info-mode-map',
>> > whose `symbol-value' is a keymap. It is used only as a keymap.
>> > It is not used as a function. It is convenient to be able to
>> > reuse an existing keymap variable to provide a map for a given
>> > portion of text.
>>
>> Why can't you dereference the variable when assigning the property?
>
> Why can't you dereference the function symbol when assigning the
> property? ;-)
That's how lisp works, fundamentally.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."