todo-validate-name

todo-validate-name is a compiled Lisp function in `todo-mode.el'.

(todo-validate-name NAME TYPE)

Prompt for new NAME for TYPE until it is valid, then return it.
TYPE can be either of the symbols `file' or `category'.