diff options
| author | Andreas Schwab | 2009-02-19 17:15:58 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2009-02-19 17:15:58 +0000 |
| commit | 083d6104ef0b970517e1d4e003a849947736c8a3 (patch) | |
| tree | ab5670a8496bc74485e11f85138ecc108953a548 | |
| parent | f2a8252af4cca4d4f72638408279dec0c5f4251c (diff) | |
| download | emacs-083d6104ef0b970517e1d4e003a849947736c8a3.tar.gz emacs-083d6104ef0b970517e1d4e003a849947736c8a3.zip | |
Remap self-insert-command to term-send-raw in
term-raw-map. (Bug#2386)
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/term.el | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 72672d8efe6..aaf4c25b7f7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2009-02-19 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * term.el: Remap self-insert-command to term-send-raw in | ||
| 4 | term-raw-map. (Bug#2386) | ||
| 5 | |||
| 1 | 2009-02-19 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2009-02-19 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * emacs-lisp/lisp.el (end-of-defun): Consider the ".*\n" after the end of | 8 | * emacs-lisp/lisp.el (end-of-defun): Consider the ".*\n" after the end of |
diff --git a/lisp/term.el b/lisp/term.el index 76fa6fb6a7d..e9ece6203bc 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -895,6 +895,7 @@ is buffer-local.") | |||
| 895 | (unless (or (eq i ?O) (eq i 91)) | 895 | (unless (or (eq i ?O) (eq i 91)) |
| 896 | (define-key esc-map (make-string 1 i) 'term-send-raw-meta)) | 896 | (define-key esc-map (make-string 1 i) 'term-send-raw-meta)) |
| 897 | (setq i (1+ i))) | 897 | (setq i (1+ i))) |
| 898 | (define-key map [remap self-insert-command] 'term-send-raw) | ||
| 898 | (define-key map "\e" esc-map) | 899 | (define-key map "\e" esc-map) |
| 899 | (setq term-raw-map map) | 900 | (setq term-raw-map map) |
| 900 | (setq term-raw-escape-map | 901 | (setq term-raw-escape-map |