1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(terminal-init-linux): Use gpm-mouse-mode rather than obsolete alias.

This commit is contained in:
Glenn Morris 2008-06-07 02:42:21 +00:00
parent 531fdf02d6
commit 1fb07b5bb6

View file

@ -2,15 +2,14 @@
;; The Linux console handles Latin-1 by default.
(defun terminal-init-linux ()
"Terminal initialization function for linux."
"Terminal initialization function for linux."
(unless (terminal-coding-system)
(set-terminal-coding-system 'iso-latin-1))
;; It can't really display underlines.
(tty-no-underline)
(condition-case nil (t-mouse-mode 1)
(error nil))
(ignore-errors (gpm-mouse-mode 1))
;; Make Latin-1 input characters work, too.
;; Meta will continue to work, because the kernel