comparison 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
comparison
equal deleted inserted replaced
47754:48947cde562f 47755:aeb8117c2101
243 (global-set-key [mouse-wheel] 'mwheel-scroll) 243 (global-set-key [mouse-wheel] 'mwheel-scroll)
244 (global-set-key [C-mouse-wheel] 'mwheel-scroll) 244 (global-set-key [C-mouse-wheel] 'mwheel-scroll)
245 (global-set-key [S-mouse-wheel] 'mwheel-scroll) 245 (global-set-key [S-mouse-wheel] 'mwheel-scroll)
246 246
247 ;; (prefer-coding-system 'mac-roman) 247 ;; (prefer-coding-system 'mac-roman)
248
249 ;; Map certain keypad keys into ASCII characters that people usually expect
250 (define-key function-key-map [return] [?\C-m])
251 (define-key function-key-map [M-return] [?\M-\C-m])
252 ;; Tell read-char how to convert special chars to ASCII
253 (put 'return 'ascii-character 13)
248 254
249 ;; 255 ;;
250 ;; Available colors 256 ;; Available colors
251 ;; 257 ;;
252 258