Frame title setting doesn't need to depend on environment (gui/cli)

Enables frame titles in gui emacsclient frames.
This commit is contained in:
Mpho Jele 2019-12-22 16:51:27 +02:00 committed by duianto
parent 0c774416d7
commit 08d19389cc
2 changed files with 3 additions and 1 deletions

View file

@ -616,6 +616,8 @@ Other:
variable comments in favor of the ASCII one (thanks to nshadov)
- Fixed home buffer version insertion removing first line (thanks to duianto)
- Fixed ~SPC TAB~ in =spacemacs-base= distribution (thanks to duianto)
- Frame title setting doesn't need to depend on environment (gui/cli)
(thanks to Mpho Jele)
- Other:
- New function =configuration-layer/message= to display message in
=*Messages*= buffer (thanks to Sylvain Benner)

View file

@ -103,7 +103,7 @@ the final step of executing code in `emacs-startup-hook'.")
dotspacemacs-editing-style))
(configuration-layer/initialize)
;; frame title init
(when (and (display-graphic-p) dotspacemacs-frame-title-format)
(when dotspacemacs-frame-title-format
(require 'format-spec)
(setq frame-title-format '((:eval (spacemacs/title-prepare dotspacemacs-frame-title-format))))
(if dotspacemacs-icon-title-format