diff options
| author | Richard M. Stallman | 1993-11-08 23:40:37 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-11-08 23:40:37 +0000 |
| commit | 5394cb44707c67cdfd54228cc524913c7f4291dc (patch) | |
| tree | 3b613192a1d3a4f4f624c556d034f8bf20bd6065 /lisp | |
| parent | b12756c81ec1f6bc81b64d5d04470b9c187c29b9 (diff) | |
| download | emacs-5394cb44707c67cdfd54228cc524913c7f4291dc.tar.gz emacs-5394cb44707c67cdfd54228cc524913c7f4291dc.zip | |
Doc fixes.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/shell.el | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index c1fbf3e73f5..56788e60208 100644 --- a/lisp/shell.el +++ b/lisp/shell.el | |||
| @@ -177,7 +177,7 @@ as part of one command.") | |||
| 177 | 177 | ||
| 178 | (defvar shell-completion-execonly t | 178 | (defvar shell-completion-execonly t |
| 179 | "*If non-nil, use executable files only for completion candidates. | 179 | "*If non-nil, use executable files only for completion candidates. |
| 180 | This mirrors the optional behaviour of the tcsh. | 180 | This mirrors the optional behavior of tcsh. |
| 181 | 181 | ||
| 182 | Detecting executability of files may slow command completion considerably.") | 182 | Detecting executability of files may slow command completion considerably.") |
| 183 | 183 | ||
| @@ -189,15 +189,15 @@ Detecting executability of files may slow command completion considerably.") | |||
| 189 | 189 | ||
| 190 | (defvar shell-pushd-tohome nil | 190 | (defvar shell-pushd-tohome nil |
| 191 | "*If non-nil, make pushd with no arg behave as \"pushd ~\" (like cd). | 191 | "*If non-nil, make pushd with no arg behave as \"pushd ~\" (like cd). |
| 192 | This mirrors the optional behaviour of the tcsh.") | 192 | This mirrors the optional behavior of tcsh.") |
| 193 | 193 | ||
| 194 | (defvar shell-pushd-dextract nil | 194 | (defvar shell-pushd-dextract nil |
| 195 | "*If non-nil, make \"pushd +n\" pop the nth dir to the stack top. | 195 | "*If non-nil, make \"pushd +n\" pop the nth dir to the stack top. |
| 196 | This mirrors the optional behaviour of the tcsh.") | 196 | This mirrors the optional behavior of tcsh.") |
| 197 | 197 | ||
| 198 | (defvar shell-pushd-dunique nil | 198 | (defvar shell-pushd-dunique nil |
| 199 | "*If non-nil, make pushd only add unique directories to the stack. | 199 | "*If non-nil, make pushd only add unique directories to the stack. |
| 200 | This mirrors the optional behaviour of the tcsh.") | 200 | This mirrors the optional behavior of tcsh.") |
| 201 | 201 | ||
| 202 | (defvar shell-cd-regexp "cd" | 202 | (defvar shell-cd-regexp "cd" |
| 203 | "*Regexp to match subshell commands equivalent to cd.") | 203 | "*Regexp to match subshell commands equivalent to cd.") |
| @@ -265,24 +265,24 @@ M-x dirtrack-toggle turns directory tracking on and off. | |||
| 265 | \\{shell-mode-map} | 265 | \\{shell-mode-map} |
| 266 | Customization: Entry to this mode runs the hooks on `comint-mode-hook' and | 266 | Customization: Entry to this mode runs the hooks on `comint-mode-hook' and |
| 267 | `shell-mode-hook' (in that order). After each shell output, the hooks on | 267 | `shell-mode-hook' (in that order). After each shell output, the hooks on |
| 268 | `comint-output-filter-hook' are run. | 268 | `comint-output-filter-functions' are run. |
| 269 | 269 | ||
| 270 | Variables `shell-cd-regexp', `shell-pushd-regexp' and `shell-popd-regexp' | 270 | Variables `shell-cd-regexp', `shell-pushd-regexp' and `shell-popd-regexp' |
| 271 | are used to match their respective commands, while `shell-pushd-tohome', | 271 | are used to match their respective commands, while `shell-pushd-tohome', |
| 272 | `shell-pushd-dextract' and `shell-pushd-dunique' control the behaviour of the | 272 | `shell-pushd-dextract' and `shell-pushd-dunique' control the behavior of the |
| 273 | relevant command. | 273 | relevant command. |
| 274 | 274 | ||
| 275 | Variables `comint-completion-autolist', `comint-completion-addsuffix' and | 275 | Variables `comint-completion-autolist', `comint-completion-addsuffix' and |
| 276 | `comint-completion-recexact' control the behaviour of file name, command name | 276 | `comint-completion-recexact' control the behavior of file name, command name |
| 277 | and variable name completion. Variable `shell-completion-execonly' controls | 277 | and variable name completion. Variable `shell-completion-execonly' controls |
| 278 | the behaviour of command name completion. | 278 | the behavior of command name completion. |
| 279 | 279 | ||
| 280 | Variables `comint-input-ring-file-name' and `comint-input-autoexpand' control | 280 | Variables `comint-input-ring-file-name' and `comint-input-autoexpand' control |
| 281 | the initialisation of the input ring history, and history expansion. | 281 | the initialisation of the input ring history, and history expansion. |
| 282 | 282 | ||
| 283 | Variables `comint-output-filter-hook', `comint-scroll-to-bottom-on-input', and | 283 | Variables `comint-output-filter-functions', `comint-scroll-to-bottom-on-input', |
| 284 | `comint-scroll-to-bottom-on-output' control whether input and output cause the | 284 | and `comint-scroll-to-bottom-on-output' control whether input and output |
| 285 | window to scroll to the end of the buffer." | 285 | cause the window to scroll to the end of the buffer." |
| 286 | (interactive) | 286 | (interactive) |
| 287 | (comint-mode) | 287 | (comint-mode) |
| 288 | (setq major-mode 'shell-mode) | 288 | (setq major-mode 'shell-mode) |
| @@ -402,7 +402,7 @@ If emacs gets confused, you can resync with the shell with M-x dirs. | |||
| 402 | 402 | ||
| 403 | See variables `shell-cd-regexp', `shell-pushd-regexp', and `shell-popd-regexp', | 403 | See variables `shell-cd-regexp', `shell-pushd-regexp', and `shell-popd-regexp', |
| 404 | while `shell-pushd-tohome', `shell-pushd-dextract' and `shell-pushd-dunique' | 404 | while `shell-pushd-tohome', `shell-pushd-dextract' and `shell-pushd-dunique' |
| 405 | control the behaviour of the relevant command. | 405 | control the behavior of the relevant command. |
| 406 | 406 | ||
| 407 | Environment variables are expanded, see function `substitute-in-file-name'." | 407 | Environment variables are expanded, see function `substitute-in-file-name'." |
| 408 | (if shell-dirtrackp | 408 | (if shell-dirtrackp |