Mercurial > emacs
changeset 71428:4dc3f74ad23f
(top level): Use find-file-not-found-functions instead of the obsolete
find-file-not-found-hooks.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Fri, 23 Jun 2006 10:39:05 +0000 |
parents | 2b086f630764 |
children | 3ef59bfaaa4d |
files | lisp/dos-w32.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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.