Browse Source

Add some advices

master
10sr 5 years ago
parent
commit
abaea0d710
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      emacs.el

+ 9
- 1
emacs.el View File

@@ -549,7 +549,15 @@ found, otherwise returns nil."
'my-mode-line-color-update) 'my-mode-line-color-update)
(add-hook 'wdired-mode-hook (add-hook 'wdired-mode-hook
'my-mode-line-color-update) 'my-mode-line-color-update)
;; TODO: Support wgrep-mode
(advice-add 'wdired-change-to-dired-mode
:after
'my-mode-line-color-update)
(advice-add 'wgrep-change-to-wgrep-mode
:after
'my-mode-line-color-update)
(advice-add 'wgrep-to-original-mode
:after
'my-mode-line-color-update)


(set-face-background 'header-line (set-face-background 'header-line
my-mode-line-background-default) my-mode-line-background-default)


Loading…
Cancel
Save