changeset 13681:13887c128ad2

(gud-sdb-marker-filter): start may be nil, so check it with numberp before using it.
author Richard M. Stallman <rms@gnu.org>
date Fri, 01 Dec 1995 18:19:34 +0000
parents 1dad0ef18160
children 108ac303b3e5
files lisp/gud.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gud.el	Fri Dec 01 18:08:22 1995 +0000
+++ b/lisp/gud.el	Fri Dec 01 18:19:34 1995 +0000
@@ -454,7 +454,7 @@
     ;; Otherwise clear gud-marker-acc. to avoid an
     ;; unnecessary concat when this function runs next.
     (setq gud-marker-acc 
-	  (if (= start (length gud-marker-acc))
+	  (if (and (numberp start) (= start (length gud-marker-acc)))
 	      (substring gud-marker-acc start)
 	    nil)))
   string)