1
0
mirror of https://github.com/djcb/mu.git synced 2024-06-25 07:28:02 +02:00

Merge pull request #797 from wavexx/origin/master

mu4e: escape % in queries when updating the mode-string
This commit is contained in:
Dirk-Jan C. Binnema 2016-02-15 08:10:28 +02:00
commit 63de9b462a

View File

@ -998,7 +998,9 @@ the query history stack."
global-mode-string
'(:eval
(concat
(propertize mu4e~headers-last-query 'face 'mu4e-modeline-face)
(propertize
(replace-regexp-in-string "%" "%%" mu4e~headers-last-query t t)
'face 'mu4e-modeline-face)
" "
(mu4e-context-label)))))