summaryrefslogtreecommitdiffstats
path: root/init.h
diff options
context:
space:
mode:
authorVincent Lefevre <vincent@vinc17.net>2007-02-26 17:17:13 +0000
committerVincent Lefevre <vincent@vinc17.net>2007-02-26 17:17:13 +0000
commit36677253ad25081ad3c4bf070d195d99170a90e8 (patch)
tree4106d10e6872b3ff15c09bf11582a8437872afd7 /init.h
parent7f8539489eef75c796ef6eab8024bb3fe6aad103 (diff)
Add $history_file and $save_history, for saving command history across
sessions.
Diffstat (limited to 'init.h')
-rw-r--r--init.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.h b/init.h
index f0280cac..f5e2057f 100644
--- a/init.h
+++ b/init.h
@@ -828,6 +828,11 @@ struct option_t MuttVars[] = {
** the string history buffer. The buffer is cleared each time the
** variable is set.
*/
+ { "history_file", DT_PATH, R_NONE, UL &HistFile, UL "~/.mutthistory" },
+ /*
+ ** .pp
+ ** The file in which Mutt will save its history.
+ */
{ "honor_followup_to", DT_QUAD, R_NONE, OPT_MFUPTO, M_YES },
/*
** .pp
@@ -2438,6 +2443,12 @@ struct option_t MuttVars[] = {
** \fBNote:\fP This only applies to mbox and MMDF folders, Mutt does not
** delete MH and Maildir directories.
*/
+ { "save_history", DT_NUM, R_NONE, UL &SaveHist, 0 },
+ /*
+ ** .pp
+ ** This variable controls the size of the history saved in the
+ ** ``$$history_file'' file.
+ */
{ "save_name", DT_BOOL, R_NONE, OPTSAVENAME, 0 },
/*
** .pp