Commit 1a80bcd1 authored by Stefan Monnier's avatar Stefan Monnier

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

parent 4a4accf7
......@@ -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."
(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.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment