aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2007-10-22 15:25:12 +0000
committerStefan Monnier2007-10-22 15:25:12 +0000
commit916e6880262ac111c24886f815ce8a42d0b29fb7 (patch)
tree961ed7053813efa1fe85a2845623b2eebb2d8ce9
parent4cbe2739957424c10b5a0ce73d3e20941492ca43 (diff)
downloademacs-916e6880262ac111c24886f815ce8a42d0b29fb7.tar.gz
emacs-916e6880262ac111c24886f815ce8a42d0b29fb7.zip
(terminal-init-AT386): Use input-decode-map.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/term/AT386.el7
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e9827dd3beb..32c70dc3479 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12007-10-22 Stefan Monnier <monnier@iro.umontreal.ca> 12007-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * term/AT386.el (terminal-init-AT386): Use input-decode-map.
4
3 * term/vt200.el (terminal-init-vt200): 5 * term/vt200.el (terminal-init-vt200):
4 * term/vt201.el (terminal-init-vt201): 6 * term/vt201.el (terminal-init-vt201):
5 * term/vt220.el (terminal-init-vt220): 7 * term/vt220.el (terminal-init-vt220):
diff --git a/lisp/term/AT386.el b/lisp/term/AT386.el
index 23dfd8e2b11..748807f026f 100644
--- a/lisp/term/AT386.el
+++ b/lisp/term/AT386.el
@@ -31,7 +31,7 @@
31 31
32(defun terminal-init-AT386 () 32(defun terminal-init-AT386 ()
33 "Terminal initialization function for AT386." 33 "Terminal initialization function for AT386."
34 (let ((AT386-keypad-map (lookup-key local-function-key-map "\e["))) 34 (let ((AT386-keypad-map (lookup-key input-decode-map "\e[")))
35 ;; The terminal initialization should already have set up some keys 35 ;; The terminal initialization should already have set up some keys
36 (if (not (keymapp AT386-keypad-map)) 36 (if (not (keymapp AT386-keypad-map))
37 (error "What? Your AT386 termcap/terminfo has no keycaps in it")) 37 (error "What? Your AT386 termcap/terminfo has no keycaps in it"))
@@ -55,8 +55,9 @@
55 (define-key AT386-keypad-map "T" [kp-add]) 55 (define-key AT386-keypad-map "T" [kp-add])
56 56
57 ;; Arrange for the ALT key to be equivalent to ESC 57 ;; Arrange for the ALT key to be equivalent to ESC
58 (define-key local-function-key-map "\eN" [27]) ; ALT map 58 (define-key input-decode-map "\eN" [ALT])
59 (define-key local-function-key-map [ALT] [27])
59 )) 60 ))
60 61
61;;; arch-tag: abec1b03-582f-49f8-b8cb-e2fd52ea4bd7 62;; arch-tag: abec1b03-582f-49f8-b8cb-e2fd52ea4bd7
62;;; AT386.el ends here 63;;; AT386.el ends here