view lisp/term/vt320.el @ 74740:46f8a3942acb

(magic-mode-alist): Allow matching file type by calling a function at bob. Check for image types by calling image-type-from-buffer. Suggested by Juanma Barranquero. (set-auto-mode): Do it.
author Kim F. Storm <storm@cua.dk>
date Tue, 19 Dec 2006 09:04:30 +0000
parents af1c58687bdd
children 532e0a9335a9 890cc78a5a24
line wrap: on
line source

;; -*- no-byte-compile: t -*-
(defun terminal-init-vt320 ()
  "Terminal initialization function for vt320."  
  (load "term/vt100" nil t)
  ;; Make F11 an escape key.
  (define-key function-key-map "\e[23~" [?\e]))

;;; arch-tag: f9f4c954-0b9e-45f9-b450-a320d32abd9c
;;; vt320.el ends here