From e7962b92030c21605eee2e5a35ed9b35a6a32f23 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 23 Jun 2006 10:39:05 +0000 Subject: [PATCH] (top level): Use find-file-not-found-functions instead of the obsolete find-file-not-found-hooks. --- lisp/dos-w32.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/dos-w32.el b/lisp/dos-w32.el index ae2bd8052bb..2d730c8af0f 100644 --- a/lisp/dos-w32.el +++ b/lisp/dos-w32.el @@ -186,7 +186,7 @@ set to the appropriate coding system, and the value of (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. -- 2.39.2