Commit fc2892fd authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(function-key-map): Map key symbols backspace, return... into ASCII chars.

parent 463f48f4
......@@ -431,6 +431,15 @@ This returns ARGS with the arguments that have been processed removed."
(define-key global-map "\C-z" 'iconify-frame)
;; 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])
;;;; Selections and cut buffers
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment