Mercurial > emacs
comparison lisp/emulation/vi.el @ 63401:f32aaa9cbdf6
(vi-goto-insert-state): Fix quoting in docstring.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 14 Jun 2005 11:31:43 +0000 |
parents | 3225f62f5e9f |
children | c9581f50bd50 a1b34dec1104 |
comparison
equal
deleted
inserted
replaced
63400:00398c07d65c | 63401:f32aaa9cbdf6 |
---|---|
518 ;;;;; | 518 ;;;;; |
519 (defun vi-goto-insert-state (repetition &optional prefix-code do-it-now-p) | 519 (defun vi-goto-insert-state (repetition &optional prefix-code do-it-now-p) |
520 "Go into insert state, the text entered will be repeated if REPETITION > 1. | 520 "Go into insert state, the text entered will be repeated if REPETITION > 1. |
521 If PREFIX-CODE is given, do it before insertion begins if DO-IT-NOW-P is T. | 521 If PREFIX-CODE is given, do it before insertion begins if DO-IT-NOW-P is T. |
522 In any case, the prefix-code will be done before each 'redo-insert'. | 522 In any case, the prefix-code will be done before each 'redo-insert'. |
523 This function expects 'overwrite-mode' being set properly beforehand." | 523 This function expects `overwrite-mode' being set properly beforehand." |
524 (if do-it-now-p (apply (car prefix-code) (cdr prefix-code))) | 524 (if do-it-now-p (apply (car prefix-code) (cdr prefix-code))) |
525 (setq vi-ins-point (point)) | 525 (setq vi-ins-point (point)) |
526 (setq vi-ins-repetition repetition) | 526 (setq vi-ins-repetition repetition) |
527 (setq vi-ins-prefix-code prefix-code) | 527 (setq vi-ins-prefix-code prefix-code) |
528 (setq mode-name vi-mode-old-mode-name) | 528 (setq mode-name vi-mode-old-mode-name) |