From 2c39565dc046d428127735552db6e7814631d4d4 Mon Sep 17 00:00:00 2001 From: Mark Oteiza Date: Mon, 9 Oct 2017 08:12:46 -0400 Subject: [PATCH] Disable XTerm titles (Bug#28591) * etc/NEWS: Mention it. * lisp/term/xterm.el (xterm-set-window-title): Disable it. --- etc/NEWS | 5 +++-- lisp/term/xterm.el | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index adc1085e745..0f4c6ae40f3 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -67,8 +67,9 @@ globally or for individual definitions. ** Enhanced xterm support -*** New variable 'xterm-set-window-title' controls whether Emacs -sets the XTerm window title. The default is to set the window title. +*** New variable 'xterm-set-window-title' controls whether Emacs sets +the XTerm window title. This feature is experimental and is disabled +by default. * New Modes and Packages in Emacs 27.1 diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index 6a17d382b0a..b7d0cfb4792 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el @@ -68,7 +68,7 @@ string bytes that can be copied is 3/4 of this value." :version "25.1" :type 'integer) -(defcustom xterm-set-window-title t +(defcustom xterm-set-window-title nil "Whether Emacs should set window titles to an Emacs frame in an XTerm." :version "27.1" :type 'boolean) -- 2.39.5