From: Stefan Monnier Date: Thu, 15 Aug 2002 00:37:57 +0000 (+0000) Subject: (dynamic-completion-mode): Use find-file-hook instead of find-file-hooks. X-Git-Tag: ttn-vms-21-2-B4~13685 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1a80bcd1d7ba75563ea5bf23f0031baf2737b718;p=emacs.git (dynamic-completion-mode): Use find-file-hook instead of find-file-hooks. --- diff --git a/lisp/completion.el b/lisp/completion.el index 85e38549b3b..4bc34cc4ba2 100644 --- a/lisp/completion.el +++ b/lisp/completion.el @@ -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.