Variable: local-function-key-map

local-function-key-map is a variable defined in keyboard.c.

Value

Large value
<backspace>                           Keyboard Macro
<bottom-divider> <touchscreen-begin>  touch-screen-translate-touch
<bottom-divider> <touchscreen-end>    touch-screen-translate-touch
<clear>                               Keyboard Macro
<delete>                              Keyboard Macro
<escape>                              Keyboard Macro
<header-line> <touchscreen-begin>     touch-screen-translate-touch
<header-line> <touchscreen-end>       touch-screen-translate-touch
<kp-0>                                Keyboard Macro
<kp-1>                                Keyboard Macro
<kp-2>                                Keyboard Macro
<kp-3>                                Keyboard Macro
<kp-4>                                Keyboard Macro
<kp-5>                                Keyboard Macro
<kp-6>                                Keyboard Macro
<kp-7>                                Keyboard Macro
<kp-8>                                Keyboard Macro
<kp-9>                                Keyboard Macro
<kp-add>                              Keyboard Macro
<kp-begin>                            Keyboard Macro
<kp-decimal>                          Keyboard Macro
<kp-delete>                           Keyboard Macro
<kp-divide>                           Keyboard Macro
<kp-down>                             Keyboard Macro
<kp-end>                              Keyboard Macro
<kp-enter>                            Keyboard Macro
<kp-equal>                            Keyboard Macro
<kp-home>                             Keyboard Macro
<kp-insert>                           Keyboard Macro
<kp-left>                             Keyboard Macro
<kp-multiply>                         Keyboard Macro
<kp-next>                             Keyboard Macro
<kp-prior>                            Keyboard Macro
<kp-right>                            Keyboard Macro
<kp-separator>                        Keyboard Macro
<kp-space>                            Keyboard Macro
<kp-subtract>                         Keyboard Macro
<kp-tab>                              Keyboard Macro
<kp-up>                               Keyboard Macro
<left-fringe> <mouse-1>               mouse--strip-first-event
<left-fringe> <mouse-2>               mouse--strip-first-event
<left-fringe> <mouse-3>               mouse--strip-first-event
<left-fringe> <touchscreen-begin>     touch-screen-translate-touch
<left-fringe> <touchscreen-end>       touch-screen-translate-touch
<left-margin> <touchscreen-begin>     touch-screen-translate-touch
<left-margin> <touchscreen-end>       touch-screen-translate-touch
<linefeed>                            Keyboard Macro
<mode-line> <touchscreen-begin>       touch-screen-translate-touch
<mode-line> <touchscreen-end>         touch-screen-translate-touch
<nil> <touchscreen-begin>             touch-screen-translate-touch
<nil> <touchscreen-end>               touch-screen-translate-touch
<return>                              Keyboard Macro
<right-divider> <touchscreen-begin>   touch-screen-translate-touch
<right-divider> <touchscreen-end>     touch-screen-translate-touch
<right-fringe> <mouse-1>              mouse--strip-first-event
<right-fringe> <mouse-2>              mouse--strip-first-event
<right-fringe> <mouse-3>              mouse--strip-first-event
<right-fringe> <touchscreen-begin>    touch-screen-translate-touch
<right-fringe> <touchscreen-end>      touch-screen-translate-touch
<right-margin> <touchscreen-begin>    touch-screen-translate-touch
<right-margin> <touchscreen-end>      touch-screen-translate-touch
<tab-bar> <touchscreen-begin>         touch-screen-translate-touch
<tab-bar> <touchscreen-end>           touch-screen-translate-touch
<tab-line> <touchscreen-begin>        touch-screen-translate-touch
<tab-line> <touchscreen-end>          touch-screen-translate-touch
<tab>                                 Keyboard Macro
<tool-bar> <touchscreen-begin>        touch-screen-translate-touch
<tool-bar> <touchscreen-end>          touch-screen-translate-touch
<touchscreen-begin>                   touch-screen-translate-touch
<touchscreen-end>                     touch-screen-translate-touch
<touchscreen-update>                  touch-screen-translate-touch
<vertical-line> <touchscreen-begin>   touch-screen-translate-touch
<vertical-line> <touchscreen-end>     touch-screen-translate-touch
C-<kp-0>                              Keyboard Macro
C-<kp-1>                              Keyboard Macro
C-<kp-2>                              Keyboard Macro
C-<kp-3>                              Keyboard Macro
C-<kp-4>                              Keyboard Macro
C-<kp-5>                              Keyboard Macro
C-<kp-6>                              Keyboard Macro
C-<kp-7>                              Keyboard Macro
C-<kp-8>                              Keyboard Macro
C-<kp-9>                              Keyboard Macro
C-<kp-add>                            Keyboard Macro
C-<kp-begin>                          Keyboard Macro
C-<kp-decimal>                        Keyboard Macro
C-<kp-delete>                         Keyboard Macro
C-<kp-divide>                         Keyboard Macro
C-<kp-down>                           Keyboard Macro
C-<kp-end>                            Keyboard Macro
C-<kp-enter>                          Keyboard Macro
C-<kp-home>                           Keyboard Macro
C-<kp-insert>                         Keyboard Macro
C-<kp-left>                           Keyboard Macro
C-<kp-multiply>                       Keyboard Macro
C-<kp-next>                           Keyboard Macro
C-<kp-prior>                          Keyboard Macro
C-<kp-right>                          Keyboard Macro
C-<kp-subtract>                       Keyboard Macro
C-<kp-up>                             Keyboard Macro
C-@                                   Keyboard Macro
C-M-<kp-0>                            Keyboard Macro
C-M-<kp-1>                            Keyboard Macro
C-M-<kp-2>                            Keyboard Macro
C-M-<kp-3>                            Keyboard Macro
C-M-<kp-4>                            Keyboard Macro
C-M-<kp-5>                            Keyboard Macro
C-M-<kp-6>                            Keyboard Macro
C-M-<kp-7>                            Keyboard Macro
C-M-<kp-8>                            Keyboard Macro
C-M-<kp-9>                            Keyboard Macro
C-M-<kp-add>                          Keyboard Macro
C-M-<kp-begin>                        Keyboard Macro
C-M-<kp-decimal>                      Keyboard Macro
C-M-<kp-delete>                       Keyboard Macro
C-M-<kp-divide>                       Keyboard Macro
C-M-<kp-down>                         Keyboard Macro
C-M-<kp-end>                          Keyboard Macro
C-M-<kp-enter>                        Keyboard Macro
C-M-<kp-home>                         Keyboard Macro
C-M-<kp-insert>                       Keyboard Macro
C-M-<kp-left>                         Keyboard Macro
C-M-<kp-multiply>                     Keyboard Macro
C-M-<kp-next>                         Keyboard Macro
C-M-<kp-prior>                        Keyboard Macro
C-M-<kp-right>                        Keyboard Macro
C-M-<kp-subtract>                     Keyboard Macro
C-M-<kp-up>                           Keyboard Macro
C-M-S-<kp-0>                          Keyboard Macro
C-M-S-<kp-1>                          Keyboard Macro
C-M-S-<kp-2>                          Keyboard Macro
C-M-S-<kp-3>                          Keyboard Macro
C-M-S-<kp-4>                          Keyboard Macro
C-M-S-<kp-5>                          Keyboard Macro
C-M-S-<kp-6>                          Keyboard Macro
C-M-S-<kp-7>                          Keyboard Macro
C-M-S-<kp-8>                          Keyboard Macro
C-M-S-<kp-9>                          Keyboard Macro
C-M-S-<kp-add>                        Keyboard Macro
C-M-S-<kp-begin>                      Keyboard Macro
C-M-S-<kp-decimal>                    Keyboard Macro
C-M-S-<kp-delete>                     Keyboard Macro
C-M-S-<kp-divide>                     Keyboard Macro
C-M-S-<kp-down>                       Keyboard Macro
C-M-S-<kp-end>                        Keyboard Macro
C-M-S-<kp-enter>                      Keyboard Macro
C-M-S-<kp-home>                       Keyboard Macro
C-M-S-<kp-insert>                     Keyboard Macro
C-M-S-<kp-left>                       Keyboard Macro
C-M-S-<kp-multiply>                   Keyboard Macro
C-M-S-<kp-next>                       Keyboard Macro
C-M-S-<kp-prior>                      Keyboard Macro
C-M-S-<kp-right>                      Keyboard Macro
C-M-S-<kp-subtract>                   Keyboard Macro
C-M-S-<kp-up>                         Keyboard Macro
C-S-<kp-0>                            Keyboard Macro
C-S-<kp-1>                            Keyboard Macro
C-S-<kp-2>                            Keyboard Macro
C-S-<kp-3>                            Keyboard Macro
C-S-<kp-4>                            Keyboard Macro
C-S-<kp-5>                            Keyboard Macro
C-S-<kp-6>                            Keyboard Macro
C-S-<kp-7>                            Keyboard Macro
C-S-<kp-8>                            Keyboard Macro
C-S-<kp-9>                            Keyboard Macro
C-S-<kp-add>                          Keyboard Macro
C-S-<kp-begin>                        Keyboard Macro
C-S-<kp-decimal>                      Keyboard Macro
C-S-<kp-delete>                       Keyboard Macro
C-S-<kp-divide>                       Keyboard Macro
C-S-<kp-down>                         Keyboard Macro
C-S-<kp-end>                          Keyboard Macro
C-S-<kp-enter>                        Keyboard Macro
C-S-<kp-home>                         Keyboard Macro
C-S-<kp-insert>                       Keyboard Macro
C-S-<kp-left>                         Keyboard Macro
C-S-<kp-multiply>                     Keyboard Macro
C-S-<kp-next>                         Keyboard Macro
C-S-<kp-prior>                        Keyboard Macro
C-S-<kp-right>                        Keyboard Macro
C-S-<kp-subtract>                     Keyboard Macro
C-S-<kp-up>                           Keyboard Macro
C-x @ S                               event-apply-shift-modifier
C-x @ a                               event-apply-alt-modifier
C-x @ c                               event-apply-control-modifier
C-x @ h                               event-apply-hyper-modifier
C-x @ m                               event-apply-meta-modifier
C-x @ s                               event-apply-super-modifier
M-<kp-0>                              Keyboard Macro
M-<kp-1>                              Keyboard Macro
M-<kp-2>                              Keyboard Macro
M-<kp-3>                              Keyboard Macro
M-<kp-4>                              Keyboard Macro
M-<kp-5>                              Keyboard Macro
M-<kp-6>                              Keyboard Macro
M-<kp-7>                              Keyboard Macro
M-<kp-8>                              Keyboard Macro
M-<kp-9>                              Keyboard Macro
M-<kp-add>                            Keyboard Macro
M-<kp-begin>                          Keyboard Macro
M-<kp-decimal>                        Keyboard Macro
M-<kp-delete>                         Keyboard Macro
M-<kp-divide>                         Keyboard Macro
M-<kp-down>                           Keyboard Macro
M-<kp-end>                            Keyboard Macro
M-<kp-enter>                          Keyboard Macro
M-<kp-home>                           Keyboard Macro
M-<kp-insert>                         Keyboard Macro
M-<kp-left>                           Keyboard Macro
M-<kp-multiply>                       Keyboard Macro
M-<kp-next>                           Keyboard Macro
M-<kp-prior>                          Keyboard Macro
M-<kp-right>                          Keyboard Macro
M-<kp-subtract>                       Keyboard Macro
M-<kp-up>                             Keyboard Macro
M-S-<kp-0>                            Keyboard Macro
M-S-<kp-1>                            Keyboard Macro
M-S-<kp-2>                            Keyboard Macro
M-S-<kp-3>                            Keyboard Macro
M-S-<kp-4>                            Keyboard Macro
M-S-<kp-5>                            Keyboard Macro
M-S-<kp-6>                            Keyboard Macro
M-S-<kp-7>                            Keyboard Macro
M-S-<kp-8>                            Keyboard Macro
M-S-<kp-9>                            Keyboard Macro
M-S-<kp-add>                          Keyboard Macro
M-S-<kp-begin>                        Keyboard Macro
M-S-<kp-decimal>                      Keyboard Macro
M-S-<kp-delete>                       Keyboard Macro
M-S-<kp-divide>                       Keyboard Macro
M-S-<kp-down>                         Keyboard Macro
M-S-<kp-end>                          Keyboard Macro
M-S-<kp-enter>                        Keyboard Macro
M-S-<kp-home>                         Keyboard Macro
M-S-<kp-insert>                       Keyboard Macro
M-S-<kp-left>                         Keyboard Macro
M-S-<kp-multiply>                     Keyboard Macro
M-S-<kp-next>                         Keyboard Macro
M-S-<kp-prior>                        Keyboard Macro
M-S-<kp-right>                        Keyboard Macro
M-S-<kp-subtract>                     Keyboard Macro
M-S-<kp-up>                           Keyboard Macro
S-<kp-0>                              Keyboard Macro
S-<kp-1>                              Keyboard Macro
S-<kp-2>                              Keyboard Macro
S-<kp-3>                              Keyboard Macro
S-<kp-4>                              Keyboard Macro
S-<kp-5>                              Keyboard Macro
S-<kp-6>                              Keyboard Macro
S-<kp-7>                              Keyboard Macro
S-<kp-8>                              Keyboard Macro
S-<kp-9>                              Keyboard Macro
S-<kp-add>                            Keyboard Macro
S-<kp-begin>                          Keyboard Macro
S-<kp-decimal>                        Keyboard Macro
S-<kp-delete>                         Keyboard Macro
S-<kp-divide>                         Keyboard Macro
S-<kp-down>                           Keyboard Macro
S-<kp-end>                            Keyboard Macro
S-<kp-enter>                          Keyboard Macro
S-<kp-home>                           Keyboard Macro
S-<kp-insert>                         Keyboard Macro
S-<kp-left>                           Keyboard Macro
S-<kp-multiply>                       Keyboard Macro
S-<kp-next>                           Keyboard Macro
S-<kp-prior>                          Keyboard Macro
S-<kp-right>                          Keyboard Macro
S-<kp-subtract>                       Keyboard Macro
S-<kp-up>                             Keyboard Macro
S-<tab>                               Keyboard Macro

Documentation

Keymap that translates key sequences to key sequences during input.

This is used mainly for mapping key sequences into some preferred key events (symbols).

The read-key-sequence function replaces any subsequence bound by local-function-key-map with its binding. More precisely, when the active keymaps have no binding for the current key sequence but local-function-key-map binds a suffix of the sequence to a vector or string, read-key-sequence replaces the matching suffix with its binding, and continues with the new sequence.

If the binding is a function, it is called with one argument (the prompt) and its return value (a key sequence) is used.

The events that come from bindings in local-function-key-map are not themselves looked up in local-function-key-map.

For example, suppose local-function-key-map binds ESC O P to [f1]. Typing ESC O P to read-key-sequence would return [f1]. Typing C-x ESC O P would return [?\C-x f1]. If [f1] were a prefix key, typing ESC O P x would return [f1 x].

local-function-key-map has a separate binding for each terminal device. See Info node (elisp)Multiple Terminals. If you need to define a binding on all terminals, change function-key-map instead. Initially, local-function-key-map is an empty keymap that has function-key-map as its parent on all terminal devices.

View in manual

Probably introduced at or before Emacs version 23.1.

Source Code

// Defined in /usr/src/emacs/src/keyboard.c
  DEFVAR_KBOARD ("local-function-key-map", Vlocal_function_key_map,
                 doc: /* Keymap that translates key sequences to key sequences during input.
This is used mainly for mapping key sequences into some preferred
key events (symbols).

The `read-key-sequence' function replaces any subsequence bound by
`local-function-key-map' with its binding.  More precisely, when the
active keymaps have no binding for the current key sequence but
`local-function-key-map' binds a suffix of the sequence to a vector or
string, `read-key-sequence' replaces the matching suffix with its
binding, and continues with the new sequence.

If the binding is a function, it is called with one argument (the prompt)
and its return value (a key sequence) is used.

The events that come from bindings in `local-function-key-map' are not
themselves looked up in `local-function-key-map'.

For example, suppose `local-function-key-map' binds `ESC O P' to [f1].
Typing `ESC O P' to `read-key-sequence' would return [f1].  Typing
`C-x ESC O P' would return [?\\C-x f1].  If [f1] were a prefix key,
typing `ESC O P x' would return [f1 x].

`local-function-key-map' has a separate binding for each terminal
device.  See Info node `(elisp)Multiple Terminals'.  If you need to
define a binding on all terminals, change `function-key-map'
instead.  Initially, `local-function-key-map' is an empty keymap that
has `function-key-map' as its parent on all terminal devices.  */);