aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2002-08-15 00:37:57 +0000
committerStefan Monnier2002-08-15 00:37:57 +0000
commit1a80bcd1d7ba75563ea5bf23f0031baf2737b718 (patch)
tree259b2b5632777556c661f150f0ac52aaadc54c68
parent4a4accf705681d4d8e05b72b4a33374bfe0447c7 (diff)
downloademacs-1a80bcd1d7ba75563ea5bf23f0031baf2737b718.tar.gz
emacs-1a80bcd1d7ba75563ea5bf23f0031baf2737b718.zip
(dynamic-completion-mode): Use find-file-hook instead of find-file-hooks.
-rw-r--r--lisp/completion.el2
1 files changed, 1 insertions, 1 deletions
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."
2402(defun dynamic-completion-mode () 2402(defun dynamic-completion-mode ()
2403 "Enable dynamic word-completion." 2403 "Enable dynamic word-completion."
2404 (interactive) 2404 (interactive)
2405 (add-hook 'find-file-hooks 'cmpl-find-file-hook) 2405 (add-hook 'find-file-hook 'cmpl-find-file-hook)
2406 (add-hook 'pre-command-hook 'completion-before-command) 2406 (add-hook 'pre-command-hook 'completion-before-command)
2407 2407
2408 ;; Install the appropriate mode tables. 2408 ;; Install the appropriate mode tables.