# HG changeset patch # User Eli Zaretskii # Date 1151059145 0 # Node ID 4dc3f74ad23f6e301788ab5986ed4562b8594f12 # Parent 2b086f630764d53a6698892a958d834a267c9dac (top level): Use find-file-not-found-functions instead of the obsolete find-file-not-found-hooks. diff -r 2b086f630764 -r 4dc3f74ad23f lisp/dos-w32.el --- a/lisp/dos-w32.el Fri Jun 23 10:38:24 2006 +0000 +++ b/lisp/dos-w32.el Fri Jun 23 10:39:05 2006 +0000 @@ -186,7 +186,7 @@ (setq buffer-file-type (eq buffer-file-coding-system 'no-conversion))))) ;;; To set the default coding system on new files. -(add-hook 'find-file-not-found-hooks +(add-hook 'find-file-not-found-functions 'find-file-not-found-set-buffer-file-coding-system) ;;; To accomodate filesystems that do not require CR/LF translation.