diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2010-03-09 11:01:20 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2010-03-09 11:01:20 +0000 |
commit | 00e507fc0eb53fb00f34e55cd89bef4cfffa8663 (patch) | |
tree | e554eb6afda593d1b1f94e2d8c6d6939c593cb0f /Functions/Calendar/calendar | |
parent | e050b88b970591f9c6eae2230520a0ddd12589ec (diff) | |
download | zsh-00e507fc0eb53fb00f34e55cd89bef4cfffa8663.tar.gz zsh-00e507fc0eb53fb00f34e55cd89bef4cfffa8663.tar.xz zsh-00e507fc0eb53fb00f34e55cd89bef4cfffa8663.zip |
unposted: fix calendar bug updating repeating events
allow calendar_edit to take arguments for editor
Diffstat (limited to 'Functions/Calendar/calendar')
-rw-r--r-- | Functions/Calendar/calendar | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Functions/Calendar/calendar b/Functions/Calendar/calendar index b87a14628..baf6b36da 100644 --- a/Functions/Calendar/calendar +++ b/Functions/Calendar/calendar @@ -328,6 +328,10 @@ fi (( tsched = t - mywarntime )) if (( tsched >= start && tsched <= stop)); then $showprog $start $stop "due in ${mywarnstr}: $showline" + elif (( tsched < start )); then + # We haven't actually shown it, but it's in the past, + # so treat it the same. Should probably rename this variable. + (( shown = 1 )) fi fi if [[ -n $sched ]]; then |