Eli Zaretskii writes: > And then I'd suggest something like > > If the substitution for a specification character is a function, the > function will be called only if FORMAT uses that character. Thanks. Please find attached a complete patch with documentation.