# HG changeset patch # User Glenn Morris # Date 1212806541 0 # Node ID 8bb6e8177f61e589971aabbe9a1e2b2098ac166b # Parent 51a4069c3233f45dbb551e2be09e32c514761fd1 (terminal-init-linux): Use gpm-mouse-mode rather than obsolete alias. diff -r 51a4069c3233 -r 8bb6e8177f61 lisp/term/linux.el --- a/lisp/term/linux.el Sat Jun 07 02:41:46 2008 +0000 +++ b/lisp/term/linux.el Sat Jun 07 02:42:21 2008 +0000 @@ -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