changeset 61610:a473e4d3af75

(command-line): No longer enable Xterm Mouse mode by default in terminals compatible with xterm.
author Luc Teirlinck <teirllm@auburn.edu>
date Mon, 18 Apr 2005 00:55:42 +0000
parents 143ba4d2beac
children f906487da0a1
files lisp/startup.el
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Mon Apr 18 00:52:57 2005 +0000
+++ b/lisp/startup.el	Mon Apr 18 00:55:42 2005 +0000
@@ -755,16 +755,6 @@
               (not (fboundp 'x-show-tip)))
     (tooltip-mode 1))
 
-  ;; If you change the code below, you need to also change the
-  ;; corresponding code in the xterm-mouse-mode defcustom.  The two need
-  ;; to be equivalent under all conditions, or Custom will get confused.
-  (unless (or noninteractive
-	      window-system)
-    (let ((term (getenv "TERM")))
-      (and term
-	   (string-match "^\\(xterm\\|rxvt\\|dtterm\\|eterm\\)" term)
-	   (xterm-mouse-mode 1))))
-
   ;; Register default TTY colors for the case the terminal hasn't a
   ;; terminal init file.
   (unless (memq window-system '(x w32))