diff lisp/term.el @ 102123:a6789a7d6164

Remap self-insert-command to term-send-raw in term-raw-map. (Bug#2386)
author Andreas Schwab <schwab@suse.de>
date Thu, 19 Feb 2009 17:15:58 +0000
parents b34b0237ca1a
children 1d22159e6128
line wrap: on
line diff
--- a/lisp/term.el	Thu Feb 19 16:55:24 2009 +0000
+++ b/lisp/term.el	Thu Feb 19 17:15:58 2009 +0000
@@ -895,6 +895,7 @@
     (unless (or (eq i ?O) (eq i 91))
 		(define-key esc-map (make-string 1 i) 'term-send-raw-meta))
     (setq i (1+ i)))
+  (define-key map [remap self-insert-command] 'term-send-raw)
   (define-key map "\e" esc-map)
   (setq term-raw-map map)
   (setq term-raw-escape-map