* lisp/emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
[emacs.git] / lisp / term / linux.el
blob76115e7d58a79a4d15ed768abcfd1acffcc7594d
1 ;; -*- no-byte-compile: t -*-
2 ;; The Linux console handles Latin-1 by default.
4 (defun terminal-init-linux ()
5 "Terminal initialization function for linux."
6 (unless (terminal-coding-system)
7 (set-terminal-coding-system 'iso-latin-1))
9 ;; It can't really display underlines.
10 (tty-no-underline)
12 (ignore-errors (when gpm-mouse-mode (require 't-mouse) (gpm-mouse-enable)))
14 ;; Make Latin-1 input characters work, too.
15 ;; Meta will continue to work, because the kernel
16 ;; turns that into Escape.
18 ;; The arg only matters in that it is not t or nil.
19 (set-input-meta-mode 'iso-latin-1))
21 ;;; linux.el ends here