diff options
-rw-r--r-- | init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/init.el b/init.el index 2397eee..2c850c1 100644 --- a/init.el +++ b/init.el | |||
@@ -173,7 +173,10 @@ | |||
173 | disabled-command-function nil | 173 | disabled-command-function nil |
174 | load-prefer-newer t | 174 | load-prefer-newer t |
175 | comp-async-report-warnings-errors nil | 175 | comp-async-report-warnings-errors nil |
176 | frame-title-format '("%b %+%* GNU Emacs" | 176 | frame-title-format '((:eval (if-let ((bn buffer-file-name)) |
177 | (abbreviate-file-name bn) | ||
178 | "%b")) | ||
179 | " %+%* GNU Emacs" | ||
177 | (:eval (when (frame-parameter | 180 | (:eval (when (frame-parameter |
178 | nil 'client) | 181 | nil 'client) |
179 | " Client"))) | 182 | " Client"))) |