Mercurial > emacs
comparison lisp/emulation/vi.el @ 62758:3225f62f5e9f
(vi-mode-setup): Use run-mode-hooks.
author | Lute Kamstra <lute@gnu.org> |
---|---|
date | Thu, 26 May 2005 15:14:23 +0000 |
parents | 7160fe3a7ef1 |
children | f32aaa9cbdf6 01137c1fdbe9 |
comparison
equal
deleted
inserted
replaced
62757:0c94929d0a7d | 62758:3225f62f5e9f |
---|---|
401 (make-local-variable 'vi-insert-state) | 401 (make-local-variable 'vi-insert-state) |
402 (make-local-variable 'vi-mode-old-local-map) | 402 (make-local-variable 'vi-mode-old-local-map) |
403 (make-local-variable 'vi-mode-old-mode-name) | 403 (make-local-variable 'vi-mode-old-mode-name) |
404 (make-local-variable 'vi-mode-old-major-mode) | 404 (make-local-variable 'vi-mode-old-major-mode) |
405 (make-local-variable 'vi-mode-old-case-fold) | 405 (make-local-variable 'vi-mode-old-case-fold) |
406 (run-hooks 'vi-mode-hook)) | 406 (run-mode-hooks 'vi-mode-hook)) |
407 | 407 |
408 ;;;###autoload | 408 ;;;###autoload |
409 (defun vi-mode () | 409 (defun vi-mode () |
410 "Major mode that acts like the `vi' editor. | 410 "Major mode that acts like the `vi' editor. |
411 The purpose of this mode is to provide you the combined power of vi (namely, | 411 The purpose of this mode is to provide you the combined power of vi (namely, |