diff lisp/cedet/semantic.el @ 104471:64ff46db1dda

lisp/cedet/semantic.el (semantic-fetch-tags): Check if progress reporter is in use before calling it.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 07 Sep 2009 01:31:06 +0000
parents 6ccad1511df1
children a4e1a12c8b97
line wrap: on
line diff
--- a/lisp/cedet/semantic.el	Sun Sep 06 21:22:05 2009 +0000
+++ b/lisp/cedet/semantic.el	Mon Sep 07 01:31:06 2009 +0000
@@ -594,7 +594,8 @@
 		   (semantic-parser-working-message (buffer-name))
 		   0 100))))
 	(setq res (semantic-parse-region (point-min) (point-max)))
-	(progress-reporter-done semantic--progress-reporter))
+	(if semantic--progress-reporter
+	    (progress-reporter-done semantic--progress-reporter)))
 
       ;; Clear the caches when we see there were no errors.
       ;; But preserve the unmatched syntax cache and warnings!