]> git.eshelyaron.com Git - emacs.git/commitdiff
(top level): Use find-file-not-found-functions instead of the obsolete
authorEli Zaretskii <eliz@gnu.org>
Fri, 23 Jun 2006 10:39:05 +0000 (10:39 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 23 Jun 2006 10:39:05 +0000 (10:39 +0000)
find-file-not-found-hooks.

lisp/dos-w32.el

index ae2bd8052bbf9190f5d052631a67a3f1148d22ff..2d730c8af0f198c90caf3b1ac66875d89218cc92 100644 (file)
@@ -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.