Reset mode-line-format in the *scratch* buffer

The first time `evil-mode' is run it sets the `mode-line-format'
buffer-local variable. This overrides the default value set later when
the theme and SVG modeline are loaded.
This commit is contained in:
Tom Willemse 2015-01-20 14:27:34 +01:00
parent c778fb7a69
commit 792dfe908d

View file

@ -1475,6 +1475,7 @@ from myaethon2.core.decorators import (
(popwin-mode) (popwin-mode)
(evil-mode) (evil-mode)
(kill-local-variable 'mode-line-format)
(when (string-equal system-name "drd") (when (string-equal system-name "drd")
(require 'colemak-evil)) (require 'colemak-evil))
(global-evil-surround-mode)) (global-evil-surround-mode))