diff options
| author | Richard M. Stallman | 1993-06-01 21:41:11 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-06-01 21:41:11 +0000 |
| commit | cb96d15d59643fb8af0f32eed82c491a995e355a (patch) | |
| tree | 424c2a2f479b40d26f6e2766b9136d7bea224223 | |
| parent | 8ee0efed36c0756cd6706baaa7ba6ab895b7d6e7 (diff) | |
| download | emacs-cb96d15d59643fb8af0f32eed82c491a995e355a.tar.gz emacs-cb96d15d59643fb8af0f32eed82c491a995e355a.zip | |
(shell-prompt-pattern): Use defvar.
| -rw-r--r-- | lisp/shell.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/shell.el b/lisp/shell.el index dbe5fcccca8..d404e46235d 100644 --- a/lisp/shell.el +++ b/lisp/shell.el | |||
| @@ -144,7 +144,7 @@ | |||
| 144 | (require 'comint) | 144 | (require 'comint) |
| 145 | 145 | ||
| 146 | ;;;###autoload | 146 | ;;;###autoload |
| 147 | (defconst shell-prompt-pattern "^[^#$%>]*[#$%>] *" | 147 | (defvar shell-prompt-pattern "^[^#$%>]*[#$%>] *" |
| 148 | "Regexp to match prompts in the inferior shell. | 148 | "Regexp to match prompts in the inferior shell. |
| 149 | Defaults to \"^[^#$%>]*[#$%>] *\", which works pretty well. | 149 | Defaults to \"^[^#$%>]*[#$%>] *\", which works pretty well. |
| 150 | This variable is used to initialise `comint-prompt-regexp' in the | 150 | This variable is used to initialise `comint-prompt-regexp' in the |