changeset 23744:e7128c62a0b4

(shell-prompt-pattern): Add defcustom.
author Richard M. Stallman <rms@gnu.org>
date Sun, 22 Nov 1998 15:33:21 +0000
parents 8531ed401ec9
children 43927e2a5899
files lisp/shell.el
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/shell.el	Sat Nov 21 22:30:41 1998 +0000
+++ b/lisp/shell.el	Sun Nov 22 15:33:21 1998 +0000
@@ -121,7 +121,7 @@
   :group 'shell)
 
 ;;;###autoload
-(defvar shell-prompt-pattern "^[^#$%>\n]*[#$%>] *"
+(defcustom shell-prompt-pattern "^[^#$%>\n]*[#$%>] *"
   "Regexp to match prompts in the inferior shell.
 Defaults to \"^[^#$%>\\n]*[#$%>] *\", which works pretty well.
 This variable is used to initialise `comint-prompt-regexp' in the 
@@ -131,7 +131,9 @@
 Shell mode may become confused trying to distinguish prompt from input
 on lines which don't start with a prompt.
 
-This is a fine thing to set in your `.emacs' file.")
+This is a fine thing to set in your `.emacs' file."
+  :type 'regexp
+  :group 'shell)
 
 (defcustom shell-completion-fignore nil
   "*List of suffixes to be disregarded during file/command completion.