read-file-name-function

read-file-name-function is a variable defined in `minibuffer.el'.
Its value is
read-file-name-default

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

Documentation:
The function called by `read-file-name' to do its work.
It should accept the same arguments as `read-file-name'.