1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-10 23:23:08 +02:00
openwrt-packages/emacs/patches/020-disable-gpm-mode.patch

27 lines
1.2 KiB
Diff
Raw Normal View History

Index: emacs-23.2/lisp/t-mouse.el
===================================================================
--- emacs-23.2.orig/lisp/t-mouse.el 2011-02-26 13:06:10.000000000 +0100
+++ emacs-23.2/lisp/t-mouse.el 2011-02-26 13:06:25.000000000 +0100
@@ -73,7 +73,7 @@
This allows the use of the mouse when operating on a GNU/Linux console,
in the same way as you can use the mouse under X11.
It relies on the `gpm' daemon being activated."
- :global t :group 'mouse :init-value t
+ :global t :group 'mouse :init-value nil
(dolist (terminal (terminal-list))
(when (and (eq t (terminal-live-p terminal))
(not (eq gpm-mouse-mode
Index: emacs-23.2/lisp/loaddefs.el
===================================================================
--- emacs-23.2.orig/lisp/loaddefs.el 2011-02-26 13:38:25.000000000 +0100
+++ emacs-23.2/lisp/loaddefs.el 2011-02-26 13:38:34.000000000 +0100
@@ -25829,7 +25829,7 @@
(define-obsolete-function-alias 't-mouse-mode 'gpm-mouse-mode "23.1")
-(defvar gpm-mouse-mode t "\
+(defvar gpm-mouse-mode nil "\
Non-nil if Gpm-Mouse mode is enabled.
See the command `gpm-mouse-mode' for a description of this minor mode.
Setting this variable directly does not take effect;