summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs.d/early-init.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el
index da04a9f3..39847ba7 100644
--- a/.emacs.d/early-init.el
+++ b/.emacs.d/early-init.el
@@ -104,11 +104,11 @@ depend on whether there are multiple frames right now."
(setq after-make-frame-functions
(delq #'spw/set-frame-title-format after-make-frame-functions))
(setq frame-title-format
- (concat "%b - "
- (if (file-in-directory-p
- invocation-directory (expand-file-name "~/"))
+ (format "%%b - %s Emacs-%s@%s"
+ (if (file-in-directory-p invocation-directory
+ (expand-file-name "~/"))
"in-tree" "installed")
- " GNU Emacs at " system-name)
+ emacs-version system-name)
icon-title-format frame-title-format)))
;; Must come after `spw/detect-tiling-wm'.
(add-to-list 'after-make-frame-functions #'spw/set-frame-title-format t)