(dynamic-completion-mode): Use find-file-hook instead of find-file-hooks.

This commit is contained in:
Stefan Monnier 2002-08-15 00:37:57 +00:00
parent 4a4accf705
commit 1a80bcd1d7

View file

@ -2402,7 +2402,7 @@ TYPE is the type of the wrapper to be added. Can be :before or :under."
(defun dynamic-completion-mode () (defun dynamic-completion-mode ()
"Enable dynamic word-completion." "Enable dynamic word-completion."
(interactive) (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) (add-hook 'pre-command-hook 'completion-before-command)
;; Install the appropriate mode tables. ;; Install the appropriate mode tables.