From 1fb07b5bb66b4355b0d8e4b5e3ec4f41d5e3a286 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 7 Jun 2008 02:42:21 +0000 Subject: [PATCH] (terminal-init-linux): Use gpm-mouse-mode rather than obsolete alias. --- lisp/term/linux.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.2