diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-09-08 09:24:11 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-09-08 09:24:11 +0200 |
commit | f12df3b5a03dcb9b33bb1e3796b8402e8c125435 (patch) | |
tree | 98d535cc9663866c342954904a777389ad848e5c | |
parent | afddd5529d8e23a0a4b612fed9792f6beda07965 (diff) | |
download | emacs-f12df3b5a03dcb9b33bb1e3796b8402e8c125435.tar.gz |
Add support for keypad `=' key in xterm.el
* lisp/term/xterm.el (xterm-function-map): Add support for keypad
= key (bug#16645).
-rw-r--r-- | lisp/term/xterm.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index de5f000089a..95187d5d117 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el @@ -394,6 +394,9 @@ Return the pasted text as a string." (define-key map "\eOx" [kp-8]) (define-key map "\eOy" [kp-9]) + ;; Some keypads have an equal key (for instance, most Apple keypads). + (define-key map "\eOX" [kp-equal]) + (define-key map "\eO2j" [S-kp-multiply]) (define-key map "\eO2k" [S-kp-add]) (define-key map "\eO2l" [S-kp-separator]) |