summaryrefslogtreecommitdiff
path: root/lisp/term/vt220.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/term/vt220.el')
-rw-r--r--lisp/term/vt220.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/term/vt220.el b/lisp/term/vt220.el
index cccd2a6dfb7..f9439e0eff7 100644
--- a/lisp/term/vt220.el
+++ b/lisp/term/vt220.el
@@ -2,10 +2,11 @@
;; For our purposes we can treat the vt200 and vt100 almost alike.
;; Most differences are handled by the termcap entry.
(defun terminal-init-vt220 ()
- "Terminal initialization function for vt220."
- (load "term/vt100" nil t)
+ "Terminal initialization function for vt220."
+ (tty-run-terminal-initialization (selected-frame) "vt100")
;; Make F11 an escape key.
- (define-key function-key-map "\e[23~" [?\e]))
+ (define-key input-decode-map "\e[23~" [f11]) ;Probably redundant.
+ (define-key local-function-key-map [f11] [?\e]))
-;;; arch-tag: 98fc4867-a20d-46a1-a276-d7be31e49871
+;; arch-tag: 98fc4867-a20d-46a1-a276-d7be31e49871
;;; vt220.el ends here