summaryrefslogtreecommitdiff
path: root/lisp/term
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2007-05-20 08:32:16 +0000
committerNick Roberts <nickrob@snap.net.nz>2007-05-20 08:32:16 +0000
commit4a364c5ef224b6f80de65cd1b45567b2a08f36cf (patch)
treee54676922167d1512b112724bc5e9d40d13cd5c0 /lisp/term
parent43180aff2dea9ead5a25e537c969395894c6f020 (diff)
downloademacs-4a364c5ef224b6f80de65cd1b45567b2a08f36cf.tar.gz
(terminal-init-linux): Don't signal an error
if gpm isn't running.
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/linux.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/term/linux.el b/lisp/term/linux.el
index a1a96a74350..84de5966a88 100644
--- a/lisp/term/linux.el
+++ b/lisp/term/linux.el
@@ -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