# HG changeset patch # User Lute Kamstra # Date 1117120463 0 # Node ID 3225f62f5e9fe0a1aafad88b33f8da861e920645 # Parent 0c94929d0a7d128fd67eef747d57677eead88a10 (vi-mode-setup): Use run-mode-hooks. diff -r 0c94929d0a7d -r 3225f62f5e9f lisp/emulation/vi.el --- a/lisp/emulation/vi.el Thu May 26 15:13:09 2005 +0000 +++ b/lisp/emulation/vi.el Thu May 26 15:14:23 2005 +0000 @@ -403,7 +403,7 @@ (make-local-variable 'vi-mode-old-mode-name) (make-local-variable 'vi-mode-old-major-mode) (make-local-variable 'vi-mode-old-case-fold) - (run-hooks 'vi-mode-hook)) + (run-mode-hooks 'vi-mode-hook)) ;;;###autoload (defun vi-mode ()