mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Clarify that arg of OMITFUNC must be a user-defined function.
All checks were successful
Remind unit tests / tests (push) Successful in 27s
All checks were successful
Remind unit tests / tests (push) Successful in 27s
This commit is contained in:
@@ -1139,6 +1139,10 @@ be Friday, Saturday and Sunday.
|
||||
.PP
|
||||
The \fBOMITFUNC\fR phrase of the \fBREM\fR command allows you to
|
||||
supply a function that determines whether or not a date is omitted.
|
||||
Note that \fBOMITFUNC\fR must be given just the name of a user-defined
|
||||
function; it can't take an arbitrary expression or the name of a built-in
|
||||
function.
|
||||
.PP
|
||||
The function is passed a single parameter of type \fBDATE\fR, and must
|
||||
return a non-zero integer if the date is considered "omitted" and 0
|
||||
otherwise. Here's an example:
|
||||
|
||||
Reference in New Issue
Block a user