From c9056ddb53b1f4139fe132d78fa4e9ce601e1c39 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 17 Apr 2021 00:18:52 -0400 Subject: [PATCH] Fix #4819: auto-update xterm title --- modules/os/tty/config.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/os/tty/config.el b/modules/os/tty/config.el index bcd6ee018..6180012ec 100644 --- a/modules/os/tty/config.el +++ b/modules/os/tty/config.el @@ -1,5 +1,9 @@ ;;; os/tty/config.el -*- lexical-binding: t; -*- +;; Keep window title up-to-date; should fail gracefully in non-xterm terminals. +;; Only works in Emacs 27+. +(setq xterm-set-window-title t) + ;; Some terminals offer two different cursors: a "visible" static cursor and a ;; "very visible" blinking one. By default, Emacs uses the very visible cursor ;; and will switch back to it when Emacs is started or resumed. A nil