From f0cf72a973caf5063a4a1cab4fcc0bd73d0d7976 Mon Sep 17 00:00:00 2001 From: Konstantin Kharlamov Date: Thu, 14 Mar 2024 02:33:06 +0300 Subject: [PATCH] docs: mention the keymap to add keybindings to for term-mode A user typically expects a keymap for mode `foo` to be called `foo-mode-map`. term-mode has `term-mode-map` too, but for user-defined bindings to have effect they have to be put to `term-raw-map` instead. So let's mention that. * doc/emacs/misc.texi (Term mode): mention the keymap to add keybindings to for term-mode --- doc/emacs/misc.texi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 7eb28f56826..471cd2eed1a 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -1651,6 +1651,10 @@ Term Mode interface is similar to the @code{more} program. @end table +@cindex keymap in Term mode + To add custom keybindings to the Term mode use @code{term-raw-map} +keymap. + @node Remote Host @subsection Remote Host Shell @cindex remote host -- 2.44.0