diff options
author | Kevin McCarthy <kevin@8t8.us> | 2018-04-22 13:02:06 -0700 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2018-04-22 13:02:06 -0700 |
commit | 26b822025b258d99e05b6c236669847efe9b3dfb (patch) | |
tree | 7eca76a0ce8d66990a0faa02804525263dd6d3c4 /functions.h | |
parent | f2e8392fee22230f259dc75b3a022ebb04596988 (diff) |
Add Error History function and config var.
<error-history>, by default unbound, shows a list of the recent error
messages displayed by Mutt via mutt_message() or mutt_error().
$error_history sets the size of the history ring.
For now, I've decided to include mutt_message() messages too. If this
is too chatty, we can restrict it to mutt_error() easily in the
future.
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/functions.h b/functions.h index 2985c6eb..95d00d8b 100644 --- a/functions.h +++ b/functions.h @@ -78,6 +78,7 @@ const struct binding_t OpGeneric[] = { /* map: generic */ { "current-top", OP_CURRENT_TOP, NULL }, { "current-middle", OP_CURRENT_MIDDLE, NULL }, { "current-bottom", OP_CURRENT_BOTTOM, NULL }, + { "error-history", OP_ERROR_HISTORY, NULL }, { "what-key", OP_WHAT_KEY, NULL }, { NULL, 0, NULL } }; @@ -264,6 +265,7 @@ const struct binding_t OpPager[] = { /* map: pager */ { "search-reverse", OP_SEARCH_REVERSE, "\033/" }, { "search-opposite", OP_SEARCH_OPPOSITE, NULL }, { "next-line", OP_NEXT_LINE, MUTT_ENTER_S }, + { "error-history", OP_ERROR_HISTORY, NULL }, { "jump", OP_JUMP, NULL }, { "next-unread", OP_MAIN_NEXT_UNREAD, NULL }, { "previous-new", OP_MAIN_PREV_NEW, NULL }, |