mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 23:08:40 +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
|
.PP
|
||||||
The \fBOMITFUNC\fR phrase of the \fBREM\fR command allows you to
|
The \fBOMITFUNC\fR phrase of the \fBREM\fR command allows you to
|
||||||
supply a function that determines whether or not a date is omitted.
|
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
|
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
|
return a non-zero integer if the date is considered "omitted" and 0
|
||||||
otherwise. Here's an example:
|
otherwise. Here's an example:
|
||||||
|
|||||||
Reference in New Issue
Block a user