From: YAMAMOTO Mitsuharu Date: Tue, 15 Mar 2005 07:45:58 +0000 (+0000) Subject: (function-key-map): Sync with x-win.el. X-Git-Tag: ttn-vms-21-2-B4~1802 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9b3c108b781d1d7916410a6a83d0c09e960904ff;p=emacs.git (function-key-map): Sync with x-win.el. --- diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el index d43264f275e..69438c349a4 100644 --- a/lisp/term/mac-win.el +++ b/lisp/term/mac-win.el @@ -1010,20 +1010,29 @@ XConsortium: rgb.txt,v 10.41 94/02/20 18:39:36 rws Exp") ;; Map certain keypad keys into ASCII characters ;; that people usually expect. -(define-key function-key-map [return] [?\C-m]) -(define-key function-key-map [M-return] [?\M-\C-m]) -(define-key function-key-map [tab] [?\t]) -(define-key function-key-map [M-tab] [?\M-\t]) (define-key function-key-map [backspace] [?\d]) -(define-key function-key-map [M-backspace] [?\M-\d]) +(define-key function-key-map [delete] [?\d]) +(define-key function-key-map [tab] [?\t]) +(define-key function-key-map [linefeed] [?\n]) +(define-key function-key-map [clear] [?\C-l]) +(define-key function-key-map [return] [?\C-m]) (define-key function-key-map [escape] [?\e]) +(define-key function-key-map [M-backspace] [?\M-\d]) +(define-key function-key-map [M-delete] [?\M-\d]) +(define-key function-key-map [M-tab] [?\M-\t]) +(define-key function-key-map [M-linefeed] [?\M-\n]) +(define-key function-key-map [M-clear] [?\M-\C-l]) +(define-key function-key-map [M-return] [?\M-\C-m]) (define-key function-key-map [M-escape] [?\M-\e]) ;; These tell read-char how to convert ;; these special chars to ASCII. -(put 'return 'ascii-character ?\C-m) -(put 'tab 'ascii-character ?\t) (put 'backspace 'ascii-character ?\d) +(put 'delete 'ascii-character ?\d) +(put 'tab 'ascii-character ?\t) +(put 'linefeed 'ascii-character ?\n) +(put 'clear 'ascii-character ?\C-l) +(put 'return 'ascii-character ?\C-m) (put 'escape 'ascii-character ?\e)