(dynamic-completion-mode): Use find-file-hook instead of find-file-hooks.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 15 Aug 2002 00:37:57 +0000 (00:37 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 15 Aug 2002 00:37:57 +0000 (00:37 +0000)
lisp/completion.el

index 85e3854..4bc34cc 100644 (file)
@@ -2402,7 +2402,7 @@ TYPE is the type of the wrapper to be added.  Can be :before or :under."
 (defun dynamic-completion-mode ()
   "Enable dynamic word-completion."
   (interactive)
-  (add-hook 'find-file-hooks 'cmpl-find-file-hook)
+  (add-hook 'find-file-hook 'cmpl-find-file-hook)
   (add-hook 'pre-command-hook 'completion-before-command)
 
   ;; Install the appropriate mode tables.