# HG changeset patch # User Chong Yidong # Date 1252287066 0 # Node ID 64ff46db1dda5ac0eff394d86ecd15d68fac7a73 # Parent 6ccad1511df1410e9f60d7dc81a4b225a901ceca lisp/cedet/semantic.el (semantic-fetch-tags): Check if progress reporter is in use before calling it. diff -r 6ccad1511df1 -r 64ff46db1dda lisp/cedet/semantic.el --- 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!