aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-03-07 04:22:37 +0000
committerRichard M. Stallman1993-03-07 04:22:37 +0000
commitfc2892fd3c6c875b1ac2a0895ccb3833c74f86a2 (patch)
treed9ad1d4b1c0f7e7310783d20e2c6dd4cbad31e90
parent463f48f40fa24ae74a11785059f18c51f5ed1d51 (diff)
downloademacs-fc2892fd3c6c875b1ac2a0895ccb3833c74f86a2.tar.gz
emacs-fc2892fd3c6c875b1ac2a0895ccb3833c74f86a2.zip
(function-key-map): Map key symbols backspace, return... into ASCII chars.
-rw-r--r--lisp/term/x-win.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 5d6597818a7..53daad9a7d9 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -431,6 +431,15 @@ This returns ARGS with the arguments that have been processed removed."
431 431
432(define-key global-map "\C-z" 'iconify-frame) 432(define-key global-map "\C-z" 'iconify-frame)
433 433
434;; Map certain keypad keys into ASCII characters
435;; that people usually expect.
436(define-key function-key-map [backspace] [127])
437(define-key function-key-map [delete] [127])
438(define-key function-key-map [tab] [?\t])
439(define-key function-key-map [linefeed] [?\n])
440(define-key function-key-map [clear] [11])
441(define-key function-key-map [return] [13])
442(define-key function-key-map [escape] [?\e])
434 443
435;;;; Selections and cut buffers 444;;;; Selections and cut buffers
436 445