find-file-hook

find-file-hook is a variable defined in `files.el'.
Its value is

(mode-local-post-major-mode-change gdb-find-file-hook ange-ftp-set-buffer-mode #[nil "\302\301!\210\303\304!8\211\207" [buffer-file-name auto-revert-tail-pos make-local-variable 7 file-attributes] 3] epa-file-find-file-hook vc-find-file-hook save-place-find-file-hook cvs-insert-visited-file which-func-ff-hook)

Original value was

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

Documentation:
List of functions to be called after a buffer is loaded from a file.
The buffer's local variables (if any) will have been processed before the
functions are called.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 22.1 of Emacs.