aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/completion.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/completion.el b/lisp/completion.el
index 183a39fc573..4f061539aa7 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."
2542(defun completion-before-command () 2542(defun completion-before-command ()
2543 (funcall (or (get this-command 'completion-function) 2543 (funcall (or (get this-command 'completion-function)
2544 'use-completion-under-or-before-point))) 2544 'use-completion-under-or-before-point)))
2545(add-hook 'before-command-hook 'completion-before-command) 2545(add-hook 'pre-command-hook 'completion-before-command)
2546 2546
2547 2547
2548;;;--------------------------------------------------------------------------- 2548;;;---------------------------------------------------------------------------