From: Chong Yidong Date: Mon, 7 Sep 2009 01:31:06 +0000 (+0000) Subject: lisp/cedet/semantic.el (semantic-fetch-tags): Check if progress X-Git-Tag: emacs-pretest-23.1.90~1091^2~50 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=59aec83e8f0860e857ad00de8f780f83ce2d05a1;p=emacs.git lisp/cedet/semantic.el (semantic-fetch-tags): Check if progress reporter is in use before calling it. --- diff --git a/lisp/cedet/semantic.el b/lisp/cedet/semantic.el index 97780453058..c683cf84837 100644 --- a/lisp/cedet/semantic.el +++ b/lisp/cedet/semantic.el @@ -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!