Next: , Previous: , Up: Visiting or Finding Files   [Index]


7.3.1.8 find-file-not-found-functions — Variable

Variable: find-file-not-found-functions

The value of this variable is a list of functions to be called when ‘find-file’ or ‘find-file-noselect’ is passed a nonexistent file name. ‘find-file-noselect’ calls these functions as soon as it detects a nonexistent file. It calls them in the order of the list, until one of them returns non-‘nil’.

This is not a normal hook because the values of the functions are used, and in many cases only some of the functions are called.