diff options
| author | Richard M. Stallman | 1998-11-22 15:33:21 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-11-22 15:33:21 +0000 |
| commit | fad22e2e9cc5452634358dc690dcec16b4fe84ae (patch) | |
| tree | 1e1a89228c0d114a37b68e5b2238281415fb2b8f /lisp | |
| parent | 58c4bd873eff761f5ebc4a016a0993f2f143059f (diff) | |
| download | emacs-fad22e2e9cc5452634358dc690dcec16b4fe84ae.tar.gz emacs-fad22e2e9cc5452634358dc690dcec16b4fe84ae.zip | |
(shell-prompt-pattern): Add defcustom.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/shell.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index 78eeb479300..07bd4a87d64 100644 --- a/lisp/shell.el +++ b/lisp/shell.el | |||
| @@ -121,7 +121,7 @@ | |||
| 121 | :group 'shell) | 121 | :group 'shell) |
| 122 | 122 | ||
| 123 | ;;;###autoload | 123 | ;;;###autoload |
| 124 | (defvar shell-prompt-pattern "^[^#$%>\n]*[#$%>] *" | 124 | (defcustom shell-prompt-pattern "^[^#$%>\n]*[#$%>] *" |
| 125 | "Regexp to match prompts in the inferior shell. | 125 | "Regexp to match prompts in the inferior shell. |
| 126 | Defaults to \"^[^#$%>\\n]*[#$%>] *\", which works pretty well. | 126 | Defaults to \"^[^#$%>\\n]*[#$%>] *\", which works pretty well. |
| 127 | This variable is used to initialise `comint-prompt-regexp' in the | 127 | This variable is used to initialise `comint-prompt-regexp' in the |
| @@ -131,7 +131,9 @@ The pattern should probably not match more than one line. If it does, | |||
| 131 | Shell mode may become confused trying to distinguish prompt from input | 131 | Shell mode may become confused trying to distinguish prompt from input |
| 132 | on lines which don't start with a prompt. | 132 | on lines which don't start with a prompt. |
| 133 | 133 | ||
| 134 | This is a fine thing to set in your `.emacs' file.") | 134 | This is a fine thing to set in your `.emacs' file." |
| 135 | :type 'regexp | ||
| 136 | :group 'shell) | ||
| 135 | 137 | ||
| 136 | (defcustom shell-completion-fignore nil | 138 | (defcustom shell-completion-fignore nil |
| 137 | "*List of suffixes to be disregarded during file/command completion. | 139 | "*List of suffixes to be disregarded during file/command completion. |