Even with electrical generation it's a mixed bag. The recent US fracking boom has also dramatically lowered the prices for natural gas. Natural gas burns cleaner than coal, so to the extent it's pushing us away from coal consumption it's serving to buy us some time. But it's still desequestering carbon, which means we're still going to need to stop well before we run out of available natural gas to burn.