Mercurial > emacs
diff lisp/term/mac-win.el @ 47755:aeb8117c2101
Switching return to be treated like an X keysym
author | Steven Tamm <steventamm@mac.com> |
---|---|
date | Fri, 04 Oct 2002 15:03:02 +0000 |
parents | a8e027c9c403 |
children | 6c62487c3c29 |
line wrap: on
line diff
--- a/lisp/term/mac-win.el Fri Oct 04 10:09:35 2002 +0000 +++ b/lisp/term/mac-win.el Fri Oct 04 15:03:02 2002 +0000 @@ -246,6 +246,12 @@ ;; (prefer-coding-system 'mac-roman) +;; 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]) +;; Tell read-char how to convert special chars to ASCII +(put 'return 'ascii-character 13) + ;; ;; Available colors ;;