changeset 46897:6deaf2e0ade2

(dynamic-completion-mode): Use find-file-hook instead of find-file-hooks.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 15 Aug 2002 00:37:57 +0000
parents 549bdeb52a93
children 0b0448a9c183
files lisp/completion.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/completion.el	Thu Aug 15 00:34:04 2002 +0000
+++ b/lisp/completion.el	Thu Aug 15 00:37:57 2002 +0000
@@ -2402,7 +2402,7 @@
 (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.