Root/emacs/patches/020-disable-gpm-mode.patch

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

Archive Download this file



interactive