Mercurial > emacs
diff lisp/term/linux.el @ 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 | 315ae0b59970 |
children | 0a3247aa24a4 31beec9ee600 |
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