ff-not-found-hook

ff-not-found-hook is a variable defined in `find-file.el'.
Its value is
nil

  • Automatically becomes buffer-local when set.
  • This variable may be risky if used as a file-local variable.

Documentation:
List of functions to be called if the other file could not be found.

You can customize this variable.