diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 09a81c7..998bb0a 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -1285,6 +1285,8 @@ from myaethon2.core.decorators import ( (add-hook 'css-mode-hook #'rainbow-mode) (add-hook 'diary-display-hook 'oni:diary-display-func) (add-hook 'git-commit-mode-hook #'oni:set-ispell-local-en-dict) +(add-hook 'gnus-exit-group-hook 'awesome-update-current-mailbox) +(add-hook 'gnus-exit-gnus-hook 'awesome-update-current-mailbox) (add-hook 'haskell-mode-hook 'oni:haskell-mode-func) (add-hook 'java-mode-hook #'electric-pair-local-mode) (add-hook 'outline-minor-mode-hook #'oni:set-tab-maybe-toggle-outline) @@ -1295,7 +1297,6 @@ from myaethon2.core.decorators import ( (add-hook 'vala-mode-hook #'oni:vala-mode-func) (add-hook 'write-file-hooks 'oni:write-file-func) (add-hook 'yas-global-mode-hook 'oni:yas-minor-mode-func) -(add-hook 'gnus-exit-group-hook 'awesome-update-current-mailbox) (oni:add-function-to-hooks #'flycheck-mode 'perl-mode-hook 'rst-mode-hook 'rust-mode-hook 'sh-mode-hook