mirror of https://github.com/djcb/mu.git
mu4e: escape % in queries when updating the mode-string
This commit is contained in:
parent
8d4b866383
commit
ac0b1b755a
|
@ -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)))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue