summaryrefslogtreecommitdiff
path: root/lisp/term
diff options
context:
space:
mode:
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