diff --git a/lisp/term/linux.el b/lisp/term/linux.el index 14736749786..ea1e2fbe700 100644 --- a/lisp/term/linux.el +++ b/lisp/term/linux.el @@ -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