changeset 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 4eb463737ac8
children 75c910c62eaa
files lisp/ChangeLog lisp/term.el
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Feb 19 16:55:24 2009 +0000
+++ b/lisp/ChangeLog	Thu Feb 19 17:15:58 2009 +0000
@@ -1,3 +1,8 @@
+2009-02-19  Andreas Schwab  <schwab@suse.de>
+
+	* term.el: Remap self-insert-command to term-send-raw in
+	term-raw-map.  (Bug#2386)
+
 2009-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* emacs-lisp/lisp.el (end-of-defun): Consider the ".*\n" after the end of
--- 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