Mercurial > emacs
comparison lisp/comint.el @ 63502:f0f76b7d0f74
(comint-replace-by-expanded-filename, comint-prompt-regexp,
comint-delimiter-argument-list, comint-preinput-scroll-to-bottom): Fix spelling
in docstrings.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 16 Jun 2005 16:06:10 +0000 |
parents | b09a11c8c73e |
children | e907a265ffd8 b7da78284d4c |
comparison
equal
deleted
inserted
replaced
63501:2f3481c5ffb3 | 63502:f0f76b7d0f74 |
---|---|
153 "Source finding facilities in comint" | 153 "Source finding facilities in comint" |
154 :prefix "comint-" | 154 :prefix "comint-" |
155 :group 'comint) | 155 :group 'comint) |
156 | 156 |
157 (defvar comint-prompt-regexp "^" | 157 (defvar comint-prompt-regexp "^" |
158 "Regexp to recognise prompts in the inferior process. | 158 "Regexp to recognize prompts in the inferior process. |
159 Defaults to \"^\", the null string at BOL. | 159 Defaults to \"^\", the null string at BOL. |
160 | 160 |
161 This variable is only used if the variable | 161 This variable is only used if the variable |
162 `comint-use-prompt-regexp' is non-nil. | 162 `comint-use-prompt-regexp' is non-nil. |
163 | 163 |
195 :type 'boolean | 195 :type 'boolean |
196 :group 'comint | 196 :group 'comint |
197 :version "22.1") | 197 :version "22.1") |
198 | 198 |
199 (defvar comint-delimiter-argument-list () | 199 (defvar comint-delimiter-argument-list () |
200 "List of characters to recognise as separate arguments in input. | 200 "List of characters to recognize as separate arguments in input. |
201 Strings comprising a character in this list will separate the arguments | 201 Strings comprising a character in this list will separate the arguments |
202 surrounding them, and also be regarded as arguments in their own right (unlike | 202 surrounding them, and also be regarded as arguments in their own right (unlike |
203 whitespace). See `comint-arguments'. | 203 whitespace). See `comint-arguments'. |
204 Defaults to the empty list. | 204 Defaults to the empty list. |
205 | 205 |
1758 (goto-char saved-point))))))) | 1758 (goto-char saved-point))))))) |
1759 | 1759 |
1760 (defun comint-preinput-scroll-to-bottom () | 1760 (defun comint-preinput-scroll-to-bottom () |
1761 "Go to the end of buffer in all windows showing it. | 1761 "Go to the end of buffer in all windows showing it. |
1762 Movement occurs if point in the selected window is not after the process mark, | 1762 Movement occurs if point in the selected window is not after the process mark, |
1763 and `this-command' is an insertion command. Insertion commands recognised | 1763 and `this-command' is an insertion command. Insertion commands recognized |
1764 are `self-insert-command', `comint-magic-space', `yank', and `hilit-yank'. | 1764 are `self-insert-command', `comint-magic-space', `yank', and `hilit-yank'. |
1765 Depends on the value of `comint-scroll-to-bottom-on-input'. | 1765 Depends on the value of `comint-scroll-to-bottom-on-input'. |
1766 | 1766 |
1767 This function should be a pre-command hook." | 1767 This function should be a pre-command hook." |
1768 (if (and comint-scroll-to-bottom-on-input | 1768 (if (and comint-scroll-to-bottom-on-input |
2787 success)) | 2787 success)) |
2788 | 2788 |
2789 | 2789 |
2790 (defun comint-replace-by-expanded-filename () | 2790 (defun comint-replace-by-expanded-filename () |
2791 "Dynamically expand and complete the filename at point. | 2791 "Dynamically expand and complete the filename at point. |
2792 Replace the filename with an expanded, canonicalised and completed replacement. | 2792 Replace the filename with an expanded, canonicalized and completed replacement. |
2793 \"Expanded\" means environment variables (e.g., $HOME) and `~'s are replaced | 2793 \"Expanded\" means environment variables (e.g., $HOME) and `~'s are replaced |
2794 with the corresponding directories. \"Canonicalised\" means `..' and `.' are | 2794 with the corresponding directories. \"Canonicalized\" means `..' and `.' are |
2795 removed, and the filename is made absolute instead of relative. For expansion | 2795 removed, and the filename is made absolute instead of relative. For expansion |
2796 see `expand-file-name' and `substitute-in-file-name'. For completion see | 2796 see `expand-file-name' and `substitute-in-file-name'. For completion see |
2797 `comint-dynamic-complete-filename'." | 2797 `comint-dynamic-complete-filename'." |
2798 (interactive) | 2798 (interactive) |
2799 (let ((filename (comint-match-partial-filename))) | 2799 (let ((filename (comint-match-partial-filename))) |