aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/completion.el
diff options
context:
space:
mode:
authorKarl Heuer <[email protected]>1994-02-11 08:10:01 +0000
committerKarl Heuer <[email protected]>1994-02-11 08:10:01 +0000
commit649ddbf59fbf99ab4922b9402ed1fd491e6b585a (patch)
tree43f3635c0c2d6453d9577bb2c9f638933e070b58 /lisp/completion.el
parentb0f2a7bf453e9bd80d40284dd267b8e5a8e2269b (diff)
Fix spelling of pre-command-hook.
Diffstat (limited to 'lisp/completion.el')
-rw-r--r--lisp/completion.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/completion.el b/lisp/completion.el
index 183a39fc57..4f061539aa 100644
--- a/lisp/completion.el
+++ b/lisp/completion.el
@@ -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)
;;;---------------------------------------------------------------------------