]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't define backspace, M-backspace, delete,
authorGeoff Voelker <voelker@cs.washington.edu>
Sat, 16 Mar 1996 22:45:08 +0000 (22:45 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Sat, 16 Mar 1996 22:45:08 +0000 (22:45 +0000)
and M-delete; they are already defined in winnt.el.

lisp/term/w32-win.el

index ade04585ec71565008dd3053ddd5ff4c46697559..c6d94f092521f1d135fefd1e5c07e3d1f7da9e54 100644 (file)
@@ -441,30 +441,33 @@ The value may be different for frames on different X displays."
 
 ;; Map certain keypad keys into ASCII characters
 ;; that people usually expect.
-(define-key function-key-map [backspace] [127])
-(define-key function-key-map [delete] [127])
 (define-key function-key-map [tab] [?\t])
 (define-key function-key-map [linefeed] [?\n])
 (define-key function-key-map [clear] [11])
 (define-key function-key-map [return] [13])
 (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-\013])
 (define-key function-key-map [M-return] [?\M-\015])
 (define-key function-key-map [M-escape] [?\M-\e])
 
+;; These don't do the right thing (voelker)
+;(define-key function-key-map [backspace] [127])
+;(define-key function-key-map [delete] [127])
+;(define-key function-key-map [M-backspace] [?\M-\d])
+;(define-key function-key-map [M-delete] [?\M-\d])
+
 ;; These tell read-char how to convert
 ;; these special chars to ASCII.
-(put 'backspace 'ascii-character 127)
-(put 'delete 'ascii-character 127)
 (put 'tab 'ascii-character ?\t)
 (put 'linefeed 'ascii-character ?\n)
 (put 'clear 'ascii-character 12)
 (put 'return 'ascii-character 13)
 (put 'escape 'ascii-character ?\e)
+;; These don't seem to be necessary (voelker)
+;(put 'backspace 'ascii-character 127)
+;(put 'delete 'ascii-character 127)
 
 \f
 ;;;; Selections and cut buffers