dont erase global-mode-string with context label, but add to it

This commit is contained in:
Antoine Levitt
2016-10-26 08:20:25 +02:00
parent 87ab21702e
commit bc13cfda35
4 changed files with 16 additions and 13 deletions

View File

@ -787,7 +787,8 @@ FUNC should be a function taking two arguments:
(put 'mu4e~view-attach-map 'permanent-local t)
;; show context in mode-string
(set (make-local-variable 'global-mode-string) '(:eval (mu4e-context-label)))
(make-local-variable 'global-mode-string)
(add-to-list 'global-mode-string '(:eval (mu4e-context-label)))
(setq buffer-undo-list t);; don't record undo info