Variable: translate-upper-case-key-bindings

translate-upper-case-key-bindings is a customizable variable defined in keyboard.c.

Value

t

Documentation

If non-nil, interpret upper case keys as lower case (when applicable).

Emacs allows binding both upper and lower case key sequences to commands. However, if there is a lower case key sequence bound to a command, and the user enters an upper case key sequence that is not bound to a command, Emacs will use the lower case binding. Setting this variable to nil inhibits this behavior.

This variable was added, or its default value changed, in Emacs 29.1.

View in manual

Probably introduced at or before Emacs version 29.1.

Source Code

// Defined in /usr/src/emacs/src/keyboard.c
  DEFVAR_BOOL ("translate-upper-case-key-bindings",
               translate_upper_case_key_bindings,
               doc: /* If non-nil, interpret upper case keys as lower case (when applicable).
Emacs allows binding both upper and lower case key sequences to
commands.  However, if there is a lower case key sequence bound to a
command, and the user enters an upper case key sequence that is not
bound to a command, Emacs will use the lower case binding.  Setting
this variable to nil inhibits this behavior.  */);