Permalink
Browse files

rdebug.el: make more user-friendly for interactive dbgr-track-from-re…

…gion calls.
  • Loading branch information...
1 parent 6ef3aac commit 23a92f6c63681e0316c40f8ab7e4ed810041a40b @rocky rocky committed Dec 9, 2009
Showing with 3 additions and 3 deletions.
  1. +1 −1 AUTHORS
  2. +1 −1 init/rdebug.el
  3. +1 −1 track.el
View
@@ -1 +1 @@
-rockyb@rubyforge.org
+rocky@gnu.org
View
@@ -17,7 +17,7 @@ dbgr-loc-pat struct")
;; before a command prompt.
(setf (gethash "loc" rdebug-pat-hash)
(make-dbgr-loc-pat
- :regexp "\\(?:source \\)?\\(\\(?:[a-zA-Z]:\\)?\\(?:.+\\)\\):\\([0-9]+\\).*\n"
+ :regexp "\\(?:source \\)?\\(\\(?:[a-zA-Z]:\\)?\\(?:.+\\)\\):\\([0-9]+\\).*\\(?:\n\\|$\\)"
:file-group 1
:line-group 2))
View
@@ -190,7 +190,7 @@ Otherwise return nil."
; of debuggers -- one at a time -- for the buffer process.
(if (dbgr-cmdbuf?)
- (lexical-let
+ (let
((loc-regexp (or opt-regexp
(dbgr-sget 'cmdbuf-info 'loc-regexp)))
(file-group (or opt-file-group

0 comments on commit 23a92f6

Please sign in to comment.