GNU bug report logs -
#15993
24.3.50; doc of `set-temporary-overlay-map' - explain "used only once"
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Thu, 28 Nov 2013 20:39:02 UTC
Severity: minor
Found in version 24.3.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Drew Adams <drew.adams <at> oracle.com> writes:
> This pertains to both the Elisp manual and the doc string.
>
> This function puts a keymap in place temporarily, and that keymap
> overrides most other keymaps. The important question of what
> "temporarily" means here is not answered by the doc. It says only
> "Normally, MAP is used only once." A user is left to guess what
> "used only once" means. Only one occurrence of what?
The doc string now says
Set MAP as a temporary keymap taking precedence over other keymaps.
Normally, MAP is used only once, to look up the very next key.
However, if the optional argument KEEP-PRED is t, MAP stays
active if a key from MAP is used. KEEP-PRED can also be a
function of no arguments: if it returns non-nil, then MAP stays
active.
which I think is clear enough.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
This bug report was last modified 11 years and 165 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.