From: Eli Zaretskii Date: Fri, 23 Jun 2006 10:39:05 +0000 (+0000) Subject: (top level): Use find-file-not-found-functions instead of the obsolete X-Git-Tag: emacs-pretest-22.0.90~1879 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e7962b92030c21605eee2e5a35ed9b35a6a32f23;p=emacs.git (top level): Use find-file-not-found-functions instead of the obsolete find-file-not-found-hooks. --- 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.