Mercurial > emacs
comparison lisp/term/x-win.el @ 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 | e0c7208bdafa |
children | d8ba7550a0cc |
comparison
equal
deleted
inserted
replaced
2036:a71101e5abff | 2037:4a4e8a4552f9 |
---|---|
429 (define-key global-map [begin] 'beginning-of-buffer) | 429 (define-key global-map [begin] 'beginning-of-buffer) |
430 (define-key global-map [end] 'end-of-buffer) | 430 (define-key global-map [end] 'end-of-buffer) |
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 |
437 ;;; We keep track of the last text selected here, so we can check the | 446 ;;; We keep track of the last text selected here, so we can check the |
438 ;;; current selection against it, and avoid passing back our own text | 447 ;;; current selection against it, and avoid passing back our own text |