# HG changeset patch # User Andreas Schwab # Date 1235063758 0 # Node ID a6789a7d6164f918d3c793a38fbad47a8832d373 # Parent 4eb463737ac816478a16df4fa87e7649d520a9ba Remap self-insert-command to term-send-raw in term-raw-map. (Bug#2386) diff -r 4eb463737ac8 -r a6789a7d6164 lisp/ChangeLog --- 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 + + * term.el: Remap self-insert-command to term-send-raw in + term-raw-map. (Bug#2386) + 2009-02-19 Stefan Monnier * emacs-lisp/lisp.el (end-of-defun): Consider the ".*\n" after the end of diff -r 4eb463737ac8 -r a6789a7d6164 lisp/term.el --- 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