From 4a364c5ef224b6f80de65cd1b45567b2a08f36cf Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Sun, 20 May 2007 08:32:16 +0000 Subject: [PATCH] (terminal-init-linux): Don't signal an error if gpm isn't running. --- lisp/term/linux.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2