Remap self-insert-command to term-send-raw in
authorAndreas Schwab <schwab@suse.de>
Thu, 19 Feb 2009 17:15:58 +0000 (17:15 +0000)
committerAndreas Schwab <schwab@suse.de>
Thu, 19 Feb 2009 17:15:58 +0000 (17:15 +0000)
term-raw-map.  (Bug#2386)

lisp/ChangeLog
lisp/term.el

index 72672d8..aaf4c25 100644 (file)
@@ -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
index 76fa6fb..e9ece62 100644 (file)
@@ -895,6 +895,7 @@ is buffer-local.")
     (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