]> git.eshelyaron.com Git - emacs.git/commit
`term-mode': mention the keymap to add keybindings to
authorKonstantin Kharlamov <Hi-Angel@yandex.ru>
Sat, 16 Mar 2024 10:24:34 +0000 (13:24 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 24 Mar 2024 14:12:10 +0000 (15:12 +0100)
commit4da19fed189b11d5bb4920a3cb494c1ec4cc876d
tree09d69c2fa63021364ce40b6015a899f957641ea7
parent0ca30246b95f12df1430e801f2a676121112975b
`term-mode': mention the keymap to add keybindings to

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.
* lisp/term.el (term-mode) (term-mode-map) (term-raw-map): Mention
the keymaps to add keybindings to for `term-mode'.  (Bug#69786)

(cherry picked from commit f48babb1120343f211367a1b5854dc7740c3091d)
lisp/term.el