diary-modify-entry-list-string-function is a variable defined in `diary-lib.el'.
Its value is

  • This variable may be risky if used as a file-local variable.

Function applied to entry string before putting it into the entries list.
Can be used by programs integrating a diary list into other buffers (e.g.
org.el and planner.el) to modify the string or add properties to it.
The function takes a string argument and must return a string.