int debugsw = 0; /* global */
int forwsw = 1;
-int inplace = 1;
int pushsw = 0;
int verbsw = 0;
char *altmsg = NULL;
if (!(annotext = getenv("mhannotate")) || !*annotext) {
annotext = NULL;
}
- if (annotext && ((cp = getenv("mhinplace")) && *cp)) {
- inplace = atoi(cp);
- }
if (!(altmsg = getenv("mhaltmsg")) || !*altmsg) {
altmsg = NULL; /* used by dist interface - see below */
}
}
if (debugsw) {
- advise(NULL, "annotate%s as `%s'", inplace ? " inplace" : "",
- annotext);
+ advise(NULL, "annotate as `%s'", annotext);
}
for (msgnum = mp->lowsel; msgnum <= mp->hghsel; msgnum++) {
if (is_selected(mp, msgnum)) {
if (debugsw) {
advise(NULL, "annotate message %d", msgnum);
}
- annotate(m_name(msgnum), annotext, NULL, inplace,
- 1, -2, 0);
+ annotate(m_name(msgnum), annotext, NULL, 1, -2, 0);
}
}