changeset 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 315ae0b59970
children 1facbd04b199
files lisp/t-mouse.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
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)