]> git.eshelyaron.com Git - emacs.git/commitdiff
(terminal-init-linux): Don't signal an error
authorNick Roberts <nickrob@snap.net.nz>
Sun, 20 May 2007 08:32:16 +0000 (08:32 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Sun, 20 May 2007 08:32:16 +0000 (08:32 +0000)
if gpm isn't running.

lisp/term/linux.el

index a1a96a743502659d5d5d02d8fe196beed48cd5cb..84de5966a888f1d4adf8434d8db664aea743fd3d 100644 (file)
@@ -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