Commits

Anonymous committed 3398755

Applied Rodney Stromlund's patch from <s8060413.018@hdqmail.swacorp.com>
with subject "XEmacs gud bug + patch".

  • Participants
  • Parent commits fa9461d
  • Tags sumo-1999-12-09, sumo-1999-12-11

Comments (0)

Files changed (2)

+1999-10-14  Rodney Stromlund  <Rodney.Stromlund@wnco.com>
+
+	* gud.el (gud-format-command): int-to-string the line number
+	before using it in concat (this is the "%l" expression).
+
 1999-09-03  Justin Vallon  <vallon@bear.com>
 
 	* gud.el: Allow a lambda (ie: functionp) in gud-overload-functions.
     (if (string-match "\\(.*\\)%l\\(.*\\)" str)
 	(setq str (concat
 		   (substring str (match-beginning 1) (match-end 1))
-		   (if insource
-		       (save-excursion
-			 (beginning-of-line)
-			 (save-restriction (widen)
-					   (1+ (count-lines 1 (point)))))
-		     (cdr gud-last-frame))
+		   (int-to-string 
+		    (if insource
+			(save-excursion
+			  (beginning-of-line)
+			  (save-restriction (widen)
+					    (1+ (count-lines 1 (point)))))
+		      (cdr gud-last-frame)))
 		   (substring str (match-beginning 2) (match-end 2)))))
     (if (string-match "\\(.*\\)%e\\(.*\\)" str)
 	(setq str (concat