Speed up generate-new-buffer-name for invisible buffers (bug#1229)
[emacs.git] / lisp / term / linux.el
blob00bcdfdf5427d91550cc633561512ddc7544a88d
1 ;; The Linux console handles Latin-1 by default.
3 (declare-function gpm-mouse-enable "t-mouse" ())
5 (defun terminal-init-linux ()
6 "Terminal initialization function for linux."
7 (unless (terminal-coding-system)
8 (set-terminal-coding-system 'iso-latin-1))
10 ;; It can't really display underlines.
11 (tty-no-underline)
13 (ignore-errors (when gpm-mouse-mode (require 't-mouse) (gpm-mouse-enable)))
15 ;; Make Latin-1 input characters work, too.
16 ;; Meta will continue to work, because the kernel
17 ;; turns that into Escape.
19 ;; The arg only matters in that it is not t or nil.
20 (set-input-meta-mode 'iso-latin-1))
22 ;;; linux.el ends here