Electricity generation is what the grandparent was talking about, though the actual primary energy consumption of fossil fuels is more important w.r.t. climate change.
Primary energy production includes things like domestic coal production. Primary energy consumption includes things like gas consumption by cars, imports and distribution losses.