summaryrefslogtreecommitdiff
path: root/lisp/dos-w32.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2006-06-23 10:39:05 +0000
committerEli Zaretskii <eliz@gnu.org>2006-06-23 10:39:05 +0000
commite7962b92030c21605eee2e5a35ed9b35a6a32f23 (patch)
tree698cb462b45cc9da727200540575558d8fdc877a /lisp/dos-w32.el
parente0d8fc91ce46354816740492a21af188f008ffcf (diff)
downloademacs-e7962b92030c21605eee2e5a35ed9b35a6a32f23.tar.gz
(top level): Use find-file-not-found-functions instead of the obsolete
find-file-not-found-hooks.
Diffstat (limited to 'lisp/dos-w32.el')
-rw-r--r--lisp/dos-w32.el2
1 files changed, 1 insertions, 1 deletions
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.