]> code.delx.au - gnu-emacs/blobdiff - lisp/xt-mouse.el
(calc-embedded-close-formula, calc-embedded-open-formula,
[gnu-emacs] / lisp / xt-mouse.el
index 62710e752a71b44a9d9e83053fd9150fb67f2db0..80927647fbb515e1c60bb3b6d8e2a2914f5e2df2 100644 (file)
@@ -1,6 +1,7 @@
 ;;; xt-mouse.el --- support the mouse when emacs run in an xterm
 
-;; Copyright (C) 1994, 2000, 2001, 2005 Free Software Foundation
+;; Copyright (C) 1994, 2000, 2001, 2002, 2003,
+;;   2004, 2005 Free Software Foundation, Inc.
 
 ;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
 ;; Keywords: mouse, terminals
@@ -19,8 +20,8 @@
 
 ;; You should have received a copy of the GNU General Public License
 ;; along with GNU Emacs; see the file COPYING.  If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
 
 ;;; Commentary:
 
@@ -162,15 +163,6 @@ single clicks are supported.  When turned on, the normal xterm
 mouse functionality for such clicks is still available by holding
 down the SHIFT key while pressing the mouse button."
   :global t :group 'mouse
-   ;; If you change the code below, you also need to change the
-   ;; corresponding code in startup.el.
-  :init-value (unless (or noninteractive
-                         window-system)
-               (let ((term (getenv "TERM")))
-                 (and term
-                      (string-match "^\\(xterm\\|rxvt\\|dtterm\\|eterm\\)"
-                                    term)
-                      t)))
   (if xterm-mouse-mode
       ;; Turn it on
       (unless window-system