aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-11-22 15:33:21 +0000
committerRichard M. Stallman1998-11-22 15:33:21 +0000
commitfad22e2e9cc5452634358dc690dcec16b4fe84ae (patch)
tree1e1a89228c0d114a37b68e5b2238281415fb2b8f
parent58c4bd873eff761f5ebc4a016a0993f2f143059f (diff)
downloademacs-fad22e2e9cc5452634358dc690dcec16b4fe84ae.tar.gz
emacs-fad22e2e9cc5452634358dc690dcec16b4fe84ae.zip
(shell-prompt-pattern): Add defcustom.
-rw-r--r--lisp/shell.el6
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.
126Defaults to \"^[^#$%>\\n]*[#$%>] *\", which works pretty well. 126Defaults to \"^[^#$%>\\n]*[#$%>] *\", which works pretty well.
127This variable is used to initialise `comint-prompt-regexp' in the 127This 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,
131Shell mode may become confused trying to distinguish prompt from input 131Shell mode may become confused trying to distinguish prompt from input
132on lines which don't start with a prompt. 132on lines which don't start with a prompt.
133 133
134This is a fine thing to set in your `.emacs' file.") 134This 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.