Fix spelling of pre-command-hook.
authorKarl Heuer <kwzh@gnu.org>
Fri, 11 Feb 1994 08:10:01 +0000 (08:10 +0000)
committerKarl Heuer <kwzh@gnu.org>
Fri, 11 Feb 1994 08:10:01 +0000 (08:10 +0000)
lisp/completion.el

index 183a39f..4f06153 100644 (file)
@@ -2542,7 +2542,7 @@ TYPE is the type of the wrapper to be added.  Can be :before or :under."
 (defun completion-before-command ()
   (funcall (or (get this-command 'completion-function)
               'use-completion-under-or-before-point)))
-(add-hook 'before-command-hook 'completion-before-command)
+(add-hook 'pre-command-hook 'completion-before-command)
 
 
 ;;;---------------------------------------------------------------------------