From: Masatake Y. <je...@gy...> - 2006-07-22 07:55:28
|
Could you review this patch and install it if you appreciate? 2006-07-22 Masatake YAMATO <je...@gy...> * emacs/bashdb.el (bashdb-bashdbtrack-overlay-arrow): Don't set value to pos. Fix a typo. (bashdb-bashdbtrack-track-stack-file): Put target_buffer to let*'s variable list. --- bashdb.el.orig 2006-07-22 16:33:44.000000000 +0900 +++ bashdb.el 2006-07-22 16:34:58.000000000 +0900 @@ -340,13 +340,12 @@ ;; This was derived/simplified from edebug-overlay-arrow (cond (activation (setq overlay-arrow-position (make-marker)) - (setq pos (point)) (setq overlay-arrow-string "=>") (set-marker overlay-arrow-position (point) (current-buffer)) (setq bashdb-bashdbtrack-is-tracking-p t)) (bashdb-bashdbtrack-is-tracking-p (setq overlay-arrow-position nil) - (setq bashdb-bashdbtrack-tracking-p nil)) + (setq bashdb-bashdbtrack-is-tracking-p nil)) )) (defun bashdb-bashdbtrack-track-stack-file (text) @@ -377,7 +376,7 @@ (- procmark bashdb-bashdbtrack-track-range)) procmark)) - target target_fname target_lineno) + target target_fname target_lineno target_buffer) (if (not (string-match (concat bashdb-bashdbtrack-input-prompt "$") block)) (bashdb-bashdbtrack-overlay-arrow nil) |