diff options
| author | Luc Teirlinck | 2005-04-18 00:55:42 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2005-04-18 00:55:42 +0000 |
| commit | b7e325a809f1590a892800723e40eab71f855991 (patch) | |
| tree | f12d788e07ef62607060ea4906c984f06f77c5c1 | |
| parent | 2f530b587df9ed8207a284b81deef69333aa1098 (diff) | |
| download | emacs-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.el | 10 |
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)) |