summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--custom/jao-custom-notmuch.el1
-rw-r--r--lib/eos/jao-afio.el4
2 files changed, 3 insertions, 2 deletions
diff --git a/custom/jao-custom-notmuch.el b/custom/jao-custom-notmuch.el
index a5f91b0..ee8872c 100644
--- a/custom/jao-custom-notmuch.el
+++ b/custom/jao-custom-notmuch.el
@@ -335,6 +335,7 @@
:bind (:map notmuch-hello-mode-map
(("a" . jao-notmuch-refresh-agenda)
+ ("A" . jao-afio-open-mail)
("g" . jao-notmuch-refresh-hello)
("j" . jao-notmuch-jump-search)
("n" . jao-notmuch-hello-next)
diff --git a/lib/eos/jao-afio.el b/lib/eos/jao-afio.el
index 162a1b7..235aa54 100644
--- a/lib/eos/jao-afio.el
+++ b/lib/eos/jao-afio.el
@@ -202,8 +202,8 @@
(setq reset (or reset (not (get-register next)))))
(jao-afio--current-config next)
(unless (eq current next) (setq jao-afio--previous-config current))
- (when reset (jao-afio-reset))
- (run-hooks 'jao-afio-switch-hook)))))
+ (when reset (jao-afio-reset)))
+ (run-hooks 'jao-afio-switch-hook))))
(defun jao-afio-goto-main (&optional reset)
(interactive "P")