1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 05:10:28 +02:00

unposted: fix calendar bug updating repeating events

allow calendar_edit to take arguments for editor
This commit is contained in:
Peter Stephenson 2010-03-09 11:01:20 +00:00
parent e050b88b97
commit 00e507fc0e
4 changed files with 25 additions and 5 deletions

View file

@ -463,8 +463,11 @@ The second line will not be shown by the tt(calendar) function.
)
findex(calendar_edit)
item(tt(calendar_edit))(
This calls the user's editor to edit the calendar file. The editor
is given by the variable tt(VISUAL), if set, else the variable tt(EDITOR).
This calls the user's editor to edit the calendar file. If
there are arguments, they are taken as the editor to use (the file name
is appended to the commands); otherwise, the editor is given by the
variable tt(VISUAL), if set, else the variable tt(EDITOR).
If the calendar scheduler was running, then after editing the file
tt(calendar -s) is called to update it.