comparison lisp/completion.el @ 5895:f7f69d049b0b

Fix spelling of pre-command-hook.
author Karl Heuer <kwzh@gnu.org>
date Fri, 11 Feb 1994 08:10:01 +0000
parents 4ad99dc50f6f
children fb7e3b74a18e
comparison
equal deleted inserted replaced
5894:89c310941fcb 5895:f7f69d049b0b
2540 (cmpl-statistics-block (record-complete-failed)))) 2540 (cmpl-statistics-block (record-complete-failed))))
2541 2541
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 ;;;---------------------------------------------------------------------------
2549 ;;; Patches to standard keymaps insert completions 2549 ;;; Patches to standard keymaps insert completions
2550 ;;;--------------------------------------------------------------------------- 2550 ;;;---------------------------------------------------------------------------