# HG changeset patch # User Stefan Monnier # Date 1029371877 0 # Node ID 6deaf2e0ade24f38e66038c58e76efd8bafc6e49 # Parent 549bdeb52a93a63fb39d6fdc1863fe534ac9beb0 (dynamic-completion-mode): Use find-file-hook instead of find-file-hooks. diff -r 549bdeb52a93 -r 6deaf2e0ade2 lisp/completion.el --- 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.