summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.emacs5
1 files changed, 3 insertions, 2 deletions
diff --git a/.emacs b/.emacs
index 486aa69..f039442 100644
--- a/.emacs
+++ b/.emacs
@@ -285,8 +285,9 @@
(setq frame-title-format
'(:eval
- (let ((project (my/project-name)))
- (concat (when project (format "[%s] " project)) "%b"))))
+ (save-match-data
+ ((let ((project (my/project-name)))
+ (concat (when project (format "[%s] " project)) "%b"))))))
;; TODO: fringe fun: hideshowvis, git gutter…
;; TODO: decruftify mode-line (e.g. remove superflous parens)