function that is called, with no arguments, after @var{keymap} is
deactivated.
-The optional argument @var{message}, if a string, specifies the format
-string for the message to display after activating the transient map.
-When the string contains the specifier @samp{%k}, it's replaced with
-the list of keys from the transient map.
-
-The optional argument @var{timeout}, if a number, specifies the number
-of seconds of idle time after which @var{keymap} is deactivated. The
-value of the argument @var{timeout} can be overridden by the variable
-@code{set-transient-map-timeout}.
+The optional argument @var{message} specifies the message to display
+after activating the transient map. If @var{message} is a string, it
+is the format string for the message, and any @samp{%k} specifier in
+that string is replaced with the list of keys from the transient map.
+Any other non-@code{nil} value of @var{message} stands for the default
+message format @samp{Repeat with %k}.
+
+@vindex set-transient-map-timeout
+If the optional argument @var{timeout} is non-@code{nil}, it should be
+a number that specifies how many seconds of idle time to wait before
+deactivating @var{keymap}. The value of the variable
+@code{set-transient-map-timeout}, if non-@code{nil}, overrides the
+value of this argument.
This function works by adding and removing @var{keymap} from the
variable @code{overriding-terminal-local-map}, which takes precedence
+++
** New arguments MESSAGE and TIMEOUT of 'set-transient-map'.
-MESSAGE specifies a string that lists available keys,
-and TIMEOUT deactivates the transient map after the specified
-number of seconds. The default timeout is defined by
-the new variable 'set-transient-map-timeout'.
+MESSAGE specifies a message to display after activating the transient
+map, including a special formatting spec to list available keys.
+TIMEOUT is the idle time after which to deactivate the transient map.
+The default timeout value can be defined by the new variable
+'set-transient-map-timeout'.
+++
** New function 'seq-split'.
'set-temporary-overlay-map #'set-transient-map "24.4")
(defvar set-transient-map-timeout nil
- "Deactivate the transient map after specified timeout.
-When a number, after idle time of the specified number of seconds
-deactivate the map set by the previous call of `set-transient-map'.")
+ "Timeout in seconds for deactivation of a transient keymap.
+If this is a number, it specifies the amount of idle time
+after which to deactivate the keymap set by `set-transient-map',
+thus overriding the value of the TIMEOUT argument to that function.")
(defvar set-transient-map-timer nil
"Timer for `set-transient-map-timeout'.")
Optional arg ON-EXIT, if non-nil, specifies a function that is
called, with no arguments, after MAP is deactivated.
-Optional arg MESSAGE, if a string, specifies the format string for the
-message to display after activating the transient map. When the string
-contains the specifier %k, it's replaced with the list of keys from the
-transient map. Other non-nil values of MESSAGE use the message format
-\"Repeat with %k\". On deactivating the map the displayed message
-is cleared out.
-
-Optional arg TIMEOUT, if a number, specifies the number of seconds
-of idle time after which the map is deactivated. The variable
-`set-transient-map-timeout' overrides the argument TIMEOUT.
+Optional arg MESSAGE, if non-nil, requests display of an informative
+message after activating the transient map. If MESSAGE is a string,
+it specifies the format string for the message to display, and the %k
+specifier in the string is replaced with the list of keys from the
+transient map. Any other non-nil value of MESSAGE means to use the
+message format string \"Repeat with %k\". Upon deactivating the map,
+the displayed message will be cleared out.
+
+Optional arg TIMEOUT, if non-nil, should be a number specifying the
+number of seconds of idle time after which the map is deactivated.
+The variable `set-transient-map-timeout', if non-nil, overrides the
+value of TIMEOUT.
This function uses `overriding-terminal-local-map', which takes precedence
over all other keymaps. As usual, if no match for a key is found in MAP,