Mercurial > emacs
diff lisp/dos-w32.el @ 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 | 3bd95f4f2941 |
children | d317c5ea9079 138ce2701550 |
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.