diff options
| author | Richard M. Stallman | 1996-10-12 02:39:33 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-10-12 02:39:33 +0000 |
| commit | 4907ce5b0795ab5f5ea186c3c386c1677e52978f (patch) | |
| tree | 7450015529c1a35eedd99fa71734bfefc069359a /lisp | |
| parent | 4408bb61c3d51602202727b9670db8d543a456a4 (diff) | |
| download | emacs-4907ce5b0795ab5f5ea186c3c386c1677e52978f.tar.gz emacs-4907ce5b0795ab5f5ea186c3c386c1677e52978f.zip | |
Doc fixes on most variables.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/emulation/vip.el | 47 |
1 files changed, 23 insertions, 24 deletions
diff --git a/lisp/emulation/vip.el b/lisp/emulation/vip.el index ac2124f33f5..a8739f2350b 100644 --- a/lisp/emulation/vip.el +++ b/lisp/emulation/vip.el | |||
| @@ -38,34 +38,34 @@ | |||
| 38 | ;; external variables | 38 | ;; external variables |
| 39 | 39 | ||
| 40 | (defvar vip-emacs-local-map nil | 40 | (defvar vip-emacs-local-map nil |
| 41 | "Local map used in emacs mode. \(buffer specific\)") | 41 | "Local map used in emacs mode. (Buffer-specific.)") |
| 42 | 42 | ||
| 43 | (defvar vip-insert-local-map nil | 43 | (defvar vip-insert-local-map nil |
| 44 | "Local map used in insert command mode. \(buffer specific\)") | 44 | "Local map used in insert command mode. (Buffer-specific.)") |
| 45 | 45 | ||
| 46 | (make-variable-buffer-local 'vip-emacs-local-map) | 46 | (make-variable-buffer-local 'vip-emacs-local-map) |
| 47 | (make-variable-buffer-local 'vip-insert-local-map) | 47 | (make-variable-buffer-local 'vip-insert-local-map) |
| 48 | 48 | ||
| 49 | (defvar vip-insert-point nil | 49 | (defvar vip-insert-point nil |
| 50 | "Remember insert point as a marker. \(buffer specific\)") | 50 | "Remember insert point as a marker. (Buffer-specific.)") |
| 51 | 51 | ||
| 52 | (set-default 'vip-insert-point (make-marker)) | 52 | (set-default 'vip-insert-point (make-marker)) |
| 53 | (make-variable-buffer-local 'vip-insert-point) | 53 | (make-variable-buffer-local 'vip-insert-point) |
| 54 | 54 | ||
| 55 | (defvar vip-com-point nil | 55 | (defvar vip-com-point nil |
| 56 | "Remember com point as a marker. \(buffer specific\)") | 56 | "Remember com point as a marker. (Buffer-specific.)") |
| 57 | 57 | ||
| 58 | (set-default 'vip-com-point (make-marker)) | 58 | (set-default 'vip-com-point (make-marker)) |
| 59 | (make-variable-buffer-local 'vip-com-point) | 59 | (make-variable-buffer-local 'vip-com-point) |
| 60 | 60 | ||
| 61 | (defvar vip-current-mode nil | 61 | (defvar vip-current-mode nil |
| 62 | "Current mode. One of emacs-mode, vi-mode, insert-mode.") | 62 | "Current mode. One of `emacs-mode', `vi-mode', `insert-mode'.") |
| 63 | 63 | ||
| 64 | (make-variable-buffer-local 'vip-current-mode) | 64 | (make-variable-buffer-local 'vip-current-mode) |
| 65 | (setq-default vip-current-mode 'emacs-mode) | 65 | (setq-default vip-current-mode 'emacs-mode) |
| 66 | 66 | ||
| 67 | (defvar vip-emacs-mode-line-buffer-identification nil | 67 | (defvar vip-emacs-mode-line-buffer-identification nil |
| 68 | "value of mode-line-buffer-identification in emacs-mode.") | 68 | "Value of mode-line-buffer-identification in Emacs mode within vip.") |
| 69 | (make-variable-buffer-local 'vip-emacs-mode-line-buffer-identification) | 69 | (make-variable-buffer-local 'vip-emacs-mode-line-buffer-identification) |
| 70 | (setq-default vip-emacs-mode-line-buffer-identification | 70 | (setq-default vip-emacs-mode-line-buffer-identification |
| 71 | '("Emacs: %17b")) | 71 | '("Emacs: %17b")) |
| @@ -77,14 +77,13 @@ | |||
| 77 | (make-variable-buffer-local 'vip-current-major-mode) | 77 | (make-variable-buffer-local 'vip-current-major-mode) |
| 78 | 78 | ||
| 79 | (defvar vip-last-shell-com nil | 79 | (defvar vip-last-shell-com nil |
| 80 | "last shell command executed by ! command") | 80 | "Last shell command executed by ! command.") |
| 81 | 81 | ||
| 82 | (defvar vip-use-register nil | 82 | (defvar vip-use-register nil |
| 83 | "name of register to store deleted or yanked strings.") | 83 | "Name of register to store deleted or yanked strings.") |
| 84 | 84 | ||
| 85 | (defvar vip-d-com nil | 85 | (defvar vip-d-com nil |
| 86 | "If non-nil, it's value is a list (M-COM VAL COM), and is used to | 86 | "How to reexecute last destructive command. Value is list (M-COM VAL COM).") |
| 87 | re-execute last destructive command") | ||
| 88 | 87 | ||
| 89 | (defconst vip-shift-width 8 | 88 | (defconst vip-shift-width 8 |
| 90 | "*The number of columns shifted by > and < command.") | 89 | "*The number of columns shifted by > and < command.") |
| @@ -93,54 +92,54 @@ re-execute last destructive command") | |||
| 93 | "*If t then do regexp replace, if nil then do string replace.") | 92 | "*If t then do regexp replace, if nil then do string replace.") |
| 94 | 93 | ||
| 95 | (defvar vip-d-char nil | 94 | (defvar vip-d-char nil |
| 96 | "The character remembered by the vi \"r\" command") | 95 | "The character remembered by the vi \"r\" command.") |
| 97 | 96 | ||
| 98 | (defvar vip-f-char nil | 97 | (defvar vip-f-char nil |
| 99 | "for use by \";\" command") | 98 | "For use by \";\" command.") |
| 100 | 99 | ||
| 101 | (defvar vip-F-char nil | 100 | (defvar vip-F-char nil |
| 102 | "for use by \".\" command") | 101 | "For use by \".\" command.") |
| 103 | 102 | ||
| 104 | (defvar vip-f-forward nil | 103 | (defvar vip-f-forward nil |
| 105 | "for use by \";\" command") | 104 | "For use by \";\" command.") |
| 106 | 105 | ||
| 107 | (defvar vip-f-offset nil | 106 | (defvar vip-f-offset nil |
| 108 | "for use by \";\" command") | 107 | "For use by \";\" command.") |
| 109 | 108 | ||
| 110 | (defconst vip-search-wrap-around t | 109 | (defconst vip-search-wrap-around t |
| 111 | "*if t, search wraps around") | 110 | "*if t, search wraps around.") |
| 112 | 111 | ||
| 113 | (defconst vip-re-search nil | 112 | (defconst vip-re-search nil |
| 114 | "*if t, search is reg-exp search, otherwise vanilla search.") | 113 | "*if t, search is reg-exp search, otherwise vanilla search.") |
| 115 | 114 | ||
| 116 | (defvar vip-s-string nil | 115 | (defvar vip-s-string nil |
| 117 | "last search string") | 116 | "Last vip search string.") |
| 118 | 117 | ||
| 119 | (defvar vip-s-forward nil | 118 | (defvar vip-s-forward nil |
| 120 | "if t, search is forward.") | 119 | "If t, search is forward.") |
| 121 | 120 | ||
| 122 | (defconst vip-case-fold-search nil | 121 | (defconst vip-case-fold-search nil |
| 123 | "*if t, search ignores cases.") | 122 | "*If t, search ignores cases.") |
| 124 | 123 | ||
| 125 | (defconst vip-re-query-replace nil | 124 | (defconst vip-re-query-replace nil |
| 126 | "*If t then do regexp replace, if nil then do string replace.") | 125 | "*If t then do regexp replace, if nil then do string replace.") |
| 127 | 126 | ||
| 128 | (defconst vip-open-with-indent nil | 127 | (defconst vip-open-with-indent nil |
| 129 | "*if t, indent when open a new line.") | 128 | "*If t, indent when open a new line.") |
| 130 | 129 | ||
| 131 | (defconst vip-help-in-insert-mode nil | 130 | (defconst vip-help-in-insert-mode nil |
| 132 | "*if t then C-h is bound to help-command in insert mode, if nil then it is | 131 | "*If t then C-h is bound to help-command in insert mode. |
| 133 | bound to delete-backward-char.") | 132 | If nil then it is bound to `delete-backward-char'.") |
| 134 | 133 | ||
| 135 | (defvar vip-quote-string "> " | 134 | (defvar vip-quote-string "> " |
| 136 | "string inserted at the beginning of region") | 135 | "String inserted at the beginning of region.") |
| 137 | 136 | ||
| 138 | (defvar vip-tags-file-name "TAGS") | 137 | (defvar vip-tags-file-name "TAGS") |
| 139 | 138 | ||
| 140 | (defvar vip-inhibit-startup-message nil) | 139 | (defvar vip-inhibit-startup-message nil) |
| 141 | 140 | ||
| 142 | (defvar vip-startup-file (convert-standard-filename "~/.vip") | 141 | (defvar vip-startup-file (convert-standard-filename "~/.vip") |
| 143 | "filename used as strtup file for `vip-mode'.") | 142 | "Filename used as startup file for vip.") |
| 144 | 143 | ||
| 145 | ;; basic set up | 144 | ;; basic set up |
| 146 | 145 | ||