summaryrefslogtreecommitdiffstats
path: root/mutt.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2020-11-18 15:49:44 -0800
committerKevin McCarthy <kevin@8t8.us>2020-11-22 13:24:30 -0800
commit474d368e859aa86b4adf9e41f1048488ece99c42 (patch)
tree725e4a0e6f29fac82115d838a13a2e5614cff49d /mutt.h
parent03803e6789fb9a27570b75f3e6510e1881f63673 (diff)
Add <view-pager> function to attachment menu.
This uses a copiousoutput mailcap entry, or falls back to raw text. The existing functions do not provide a way to use copiousoutput mailcap entries exclusively. The default <view-attach> will use one for internally supported types if auto_view is configured, but there is no way to do so for other mime types (such as application/pdf).
Diffstat (limited to 'mutt.h')
-rw-r--r--mutt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mutt.h b/mutt.h
index 8f45e67f..7b719cec 100644
--- a/mutt.h
+++ b/mutt.h
@@ -215,6 +215,7 @@ enum
/* modes for mutt_view_attachment() */
MUTT_REGULAR = 1,
MUTT_MAILCAP,
+ MUTT_VIEW_PAGER,
MUTT_AS_TEXT,
/* action codes used by mutt_set_flag() and mutt_pattern_function() */