X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/d4aa48db8ed36b1fc7e7b0e6bd35049353f7f96e..1bcc463741851fb2322b3d4b7c90d308f2235b75:/lisp/term/linux.el diff --git a/lisp/term/linux.el b/lisp/term/linux.el index fdd8e2229a..5ac369721a 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 (when gpm-mouse-mode (require 't-mouse) (gpm-mouse-enable))) ;; Make Latin-1 input characters work, too. ;; Meta will continue to work, because the kernel @@ -19,5 +18,5 @@ ;; The arg only matters in that it is not t or nil. (set-input-meta-mode 'iso-latin-1)) -;;; arch-tag: 5d0c4f63-739b-4862-abf3-041fe42adb8f +;; arch-tag: 5d0c4f63-739b-4862-abf3-041fe42adb8f ;;; linux.el ends here