Mercurial > emacs
changeset 2037:4a4e8a4552f9
(function-key-map): Map key symbols backspace, return... into ASCII chars.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 07 Mar 1993 04:22:37 +0000 |
parents | a71101e5abff |
children | dd9ab1e9467e |
files | lisp/term/x-win.el |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/term/x-win.el Sun Mar 07 04:22:15 1993 +0000 +++ b/lisp/term/x-win.el Sun Mar 07 04:22:37 1993 +0000 @@ -431,6 +431,15 @@ (define-key global-map "\C-z" 'iconify-frame) +;; Map certain keypad keys into ASCII characters +;; that people usually expect. +(define-key function-key-map [backspace] [127]) +(define-key function-key-map [delete] [127]) +(define-key function-key-map [tab] [?\t]) +(define-key function-key-map [linefeed] [?\n]) +(define-key function-key-map [clear] [11]) +(define-key function-key-map [return] [13]) +(define-key function-key-map [escape] [?\e]) ;;;; Selections and cut buffers