projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
250e22d
)
make the dump be an almost valid .rc file.
author
Pierre Habouzit
<madcoder@madism.org>
Sat, 18 Nov 2006 14:14:09 +0000
(15:14 +0100)
committer
Pierre Habouzit
<madcoder@madism.org>
Sat, 18 Nov 2006 14:14:09 +0000
(15:14 +0100)
add candy for vim users, you can now vi <(madmutt -t) :]
Signed-off-by: Pierre Habouzit <madcoder@madism.org>
init.c
patch
|
blob
|
history
diff --git
a/init.c
b/init.c
index
447db37
..
13797c3
100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-2781,10
+2781,12
@@
int mutt_dump_variables (int full) {
continue;
}
+ printf("set ");
FuncTable[DTYPE(option->type)].opt_to_string
(buf, sizeof(buf), option);
printf ("%s\n", buf);
}
+ printf ("\n# vi""m:set ft=muttrc:\n");
return 0;
}