Mercurial > emacs
diff lisp/t-mouse.el @ 81000:f273808d859e
Reduce to a minor-mode macro call.
(t-mouse-mode) Remove the lighter.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Sun, 20 May 2007 05:48:36 +0000 |
parents | 30ac55694a48 |
children | 74965b1ffc6f |
line wrap: on
line diff
--- a/lisp/t-mouse.el Sun May 20 05:46:31 2007 +0000 +++ b/lisp/t-mouse.el Sun May 20 05:48:36 2007 +0000 @@ -47,8 +47,9 @@ This allows the use of the mouse when operating on a Linux console, in the same way as you can use the mouse under X11. It requires the `mev' program, part of the `gpm' utilities." - nil " Mouse" nil :global t - (unless window-system + :global t :group 'mouse + (if window-system + (error "t-mouse only works in the console on GNU/Linux") (if t-mouse-mode (progn (unless (fboundp 'term-open-connection)