mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 14:59:20 +02:00
Don't expire lines containing expressions.
This commit is contained in:
@@ -96,7 +96,12 @@ int DoRem(ParsePtr p)
|
||||
|
||||
if (PurgeMode) {
|
||||
if (trig.expired) {
|
||||
PurgeEchoLine("### EXPIRED: %s\n", CurLine);
|
||||
if (p->expr_happened) {
|
||||
PurgeEchoLine("%s\n", "### Next line may have expired, but contains expression");
|
||||
PurgeEchoLine("%s\n", CurLine);
|
||||
} else {
|
||||
PurgeEchoLine("### EXPIRED: %s\n", CurLine);
|
||||
}
|
||||
} else {
|
||||
PurgeEchoLine("%s\n", CurLine);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user