Update doc-string for dotspacemacs-frame-title-format

This commit is contained in:
claude 2021-03-20 08:10:01 +08:00 committed by Eugene Yaremenko
parent 70f475d782
commit 3f45527813
2 changed files with 8 additions and 1 deletions

View File

@ -264,7 +264,11 @@ can be a symbol or a list with additional properties like '(all-the-icons
(spacemacs|defc dotspacemacs-frame-title-format "%I@%S"
"Default format string for a frame title bar, using the
original format spec, and additional customizations."
original format spec, and additional customizations.
If nil then Spacemacs uses default `frame-title-format' instead of
calculating the frame title by `spacemacs/title-prepare' all the time.
This can help to avoid performance issues."
'(choice (const nil) string)
'spacemacs-dotspacemacs-init)

View File

@ -450,6 +450,9 @@ It should only modify the values of Spacemacs settings."
;; %n - Narrow if appropriate
;; %z - mnemonics of buffer, terminal, and keyboard coding systems
;; %Z - like %z, but including the end-of-line format
;; If nil then Spacemacs uses default `frame-title-format' to avoid
;; performance issues, instead of calculating the frame title by
;; `spacemacs/title-prepare' all the time.
;; (default "%I@%S")
dotspacemacs-frame-title-format "%I@%S"