From 9086c6b141004a25bba263062f7988af3adf7c76 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Sun, 20 May 2007 05:48:36 +0000 Subject: [PATCH] Reduce to a minor-mode macro call. (t-mouse-mode) Remove the lighter. --- lisp/t-mouse.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/t-mouse.el b/lisp/t-mouse.el index 42db325176b..a780a9932c9 100644 --- a/lisp/t-mouse.el +++ b/lisp/t-mouse.el @@ -47,8 +47,9 @@ With prefix arg, turn t-mouse mode on iff arg is positive. 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) -- 2.39.2