summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Manheimer <klm@digicool.com>2003-05-01 21:07:32 (GMT)
committerKen Manheimer <klm@digicool.com>2003-05-01 21:07:32 (GMT)
commit2448f1b655d03c35961c737e979e2fd30c954155 (patch)
treea2dd78ad0d67e084191f3afe320d07dab57c026f
parent595adce09b70de8b9539960950c259644c7a686d (diff)
downloadcpython-2448f1b655d03c35961c737e979e2fd30c954155.zip
cpython-2448f1b655d03c35961c737e979e2fd30c954155.tar.gz
cpython-2448f1b655d03c35961c737e979e2fd30c954155.tar.bz2
Slightly more lenient pdbtrack prompt recognition, for people who use
eg "pdb>".
-rw-r--r--Misc/python-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index 696ded9..61e4f46 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -483,7 +483,7 @@ prospect as debugging continues.")
"^> \\(.*\\)(\\([0-9]+\\))\\([?a-zA-Z0-9_]+\\)()"
"Regular expression pdbtrack uses to find a stack trace entry.")
-(defconst py-pdbtrack-input-prompt "\n[(<]+pdb[>)]+ "
+(defconst py-pdbtrack-input-prompt "\n[(<]*pdb[>)]+ "
"Regular expression pdbtrack uses to recognize a pdb prompt.")
(defconst py-pdbtrack-track-range 10000