]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/cedet/semantic.el (semantic-fetch-tags): Check if progress
authorChong Yidong <cyd@stupidchicken.com>
Mon, 7 Sep 2009 01:31:06 +0000 (01:31 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 7 Sep 2009 01:31:06 +0000 (01:31 +0000)
reporter is in use before calling it.

lisp/cedet/semantic.el

index 977804530584834d42b60adcaed8ae59fa8952f7..c683cf8483713944cb46d8af004cfaaed1f3ebdf 100644 (file)
@@ -594,7 +594,8 @@ was marked unparseable, then do nothing, and return the cache."
                   (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!