summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2018-12-19 23:53:52 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2018-12-19 23:53:52 +0100
commitafc8cb6efc9bff82bb9ecf1ceba063160b5fdd22 (patch)
treee80f37691d72e7cf08af15778988f858f487271c /.emacs
parent5f2d3a3953fec19ee34bd47e98df69e0a3b9fb41 (diff)
downloaddotfiles-afc8cb6efc9bff82bb9ecf1ceba063160b5fdd22.tar.xz
Make sure frame title evaluation does not mess with query-replace
See linked bug report.
Diffstat (limited to '.emacs')
-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)