From: Richard Russon Date: Tue, 31 Jan 2017 11:51:36 +0000 (+0000) Subject: change pager to allow timehook-hook to fire X-Git-Tag: neomutt-20170206~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d38190637bedfadbd35ab15dba183ad40965c122;p=neomutt change pager to allow timehook-hook to fire Closes #241 --- diff --git a/pager.c b/pager.c index 785531856..9440ab9bc 100644 --- a/pager.c +++ b/pager.c @@ -2018,7 +2018,9 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t *extra) ch = km_dokey (MENU_PAGER); if (ch != -1) + { mutt_clear_error (); + } mutt_curs_set (1); int do_new_mail = 0; @@ -2158,6 +2160,7 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t *extra) else if (ch == -1) { ch = 0; + mutt_timeout_hook(); continue; }