diff options
| author | Bosché Aurélien <aurelien_bosche@yahoo.fr> | 2014-05-21 22:06:57 +0200 |
|---|---|---|
| committer | Bosché Aurélien <aurelien_bosche@yahoo.fr> | 2014-05-21 22:06:57 +0200 |
| commit | edfe1df20aae81dc910084af5131372d0fc00ac3 (patch) | |
| tree | 194f9529ccfbb31315e6be21eada525f81371edc /mu4e | |
| parent | a02947b975cdacc993462a890999309c11f375b6 (diff) | |
Set revert-buffer-function in the right place
Diffstat (limited to 'mu4e')
| -rw-r--r-- | mu4e/mu4e-main.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mu4e/mu4e-main.el b/mu4e/mu4e-main.el index 0272820..6787d6e 100644 --- a/mu4e/mu4e-main.el +++ b/mu4e/mu4e-main.el @@ -66,7 +66,9 @@ (use-local-map mu4e-main-mode-map) (setq truncate-lines t - overwrite-mode 'overwrite-mode-binary)) + overwrite-mode 'overwrite-mode-binary + (setq revert-buffer-function 'mu4e:main-revert-buffer) + )) (defun mu4e~main-action-str (str &optional func-or-shortcut) @@ -153,8 +155,6 @@ clicked." (mu4e~main-action-str "\t* [q]uit\n" 'mu4e-quit)) ))) -(setq revert-buffer-function 'mu4e:main-revert-buffer) - ;; NEW ;; Revert mu main buffer then switch to it (defun mu4e~main-view () |
