changeset 81005:6d4bdea33da9

(terminal-init-linux): Don't signal an error if gpm isn't running.
author Nick Roberts <nickrob@snap.net.nz>
date Sun, 20 May 2007 08:32:16 +0000
parents 74965b1ffc6f
children dda232f60d06
files lisp/term/linux.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/term/linux.el	Sun May 20 08:30:57 2007 +0000
+++ b/lisp/term/linux.el	Sun May 20 08:32:16 2007 +0000
@@ -9,7 +9,8 @@
   ;; It can't really display underlines.
   (tty-no-underline)
 
-  (if (fboundp 'term-open-connection) (t-mouse-mode 1))
+  (condition-case nil (t-mouse-mode 1)
+    (error nil))
 
   ;; Make Latin-1 input characters work, too.
   ;; Meta will continue to work, because the kernel