Use 'find-file-hook' as 'find-file-hooks' marked as deprecated.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 19 Oct 2011 09:44:34 +0300
changeset 733 67e6d0381996
parent 726 2fa569bc7418
child 734 d5281f386f48
Use 'find-file-hook' as 'find-file-hooks' marked as deprecated.
.emacs-my
--- a/.emacs-my	Fri Oct 14 10:26:22 2011 +0300
+++ b/.emacs-my	Wed Oct 19 09:44:34 2011 +0300
@@ -291,7 +291,7 @@
     (require 'cygwin-mount)
     (cygwin-mount-activate)
     )
-  (add-hook 'find-file-hooks 'follow-cygwin-symlink)
+  (add-hook 'find-file-hook 'follow-cygwin-symlink)
   ;; Workaround for Cygwin shell, when set 'CYGWIN=noglob'. By default 'shell-quote-argument'
   ;; quoted by double '\' chars this cause failure.
   (defun shell-quote-argument (argument)