aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Teirlinck2005-04-18 00:55:42 +0000
committerLuc Teirlinck2005-04-18 00:55:42 +0000
commitb7e325a809f1590a892800723e40eab71f855991 (patch)
treef12d788e07ef62607060ea4906c984f06f77c5c1
parent2f530b587df9ed8207a284b81deef69333aa1098 (diff)
downloademacs-b7e325a809f1590a892800723e40eab71f855991.tar.gz
emacs-b7e325a809f1590a892800723e40eab71f855991.zip
(command-line): No longer enable Xterm Mouse mode by default in
terminals compatible with xterm.
-rw-r--r--lisp/startup.el10
1 files changed, 0 insertions, 10 deletions
diff --git a/lisp/startup.el b/lisp/startup.el
index 1919c2837f8..a3d69564cfd 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -755,16 +755,6 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
755 (not (fboundp 'x-show-tip))) 755 (not (fboundp 'x-show-tip)))
756 (tooltip-mode 1)) 756 (tooltip-mode 1))
757 757
758 ;; If you change the code below, you need to also change the
759 ;; corresponding code in the xterm-mouse-mode defcustom. The two need
760 ;; to be equivalent under all conditions, or Custom will get confused.
761 (unless (or noninteractive
762 window-system)
763 (let ((term (getenv "TERM")))
764 (and term
765 (string-match "^\\(xterm\\|rxvt\\|dtterm\\|eterm\\)" term)
766 (xterm-mouse-mode 1))))
767
768 ;; Register default TTY colors for the case the terminal hasn't a 758 ;; Register default TTY colors for the case the terminal hasn't a
769 ;; terminal init file. 759 ;; terminal init file.
770 (unless (memq window-system '(x w32)) 760 (unless (memq window-system '(x w32))