What is/was "Carlyle's dyspepsia?"

by Gao_tie

In the introduction to the 1897 book Breakfast, Dinner, and Supper, or What to Eat and How to Prepare it, it claims:

“We are all greatly dependent upon the state of our digestion. Napoleon could not rise superior to an illy-cooked dinner. Hence his Waterloo. The History of the French Revolution rose and fell with the state of Carlyle’s dyspepsia, and many a tragic episode in family life is superinduced by the baleful influence of a tortured stomach.”

AncientHistory

Thomas Carlyle, historian who wrote On Heroes, Hero-Worship, and The Heroic in History (1841) and The French Revolution: A History (1837). After his death, Carlyle's friend James Anthony Froude wrote Life of Carlyle (1882-1884). One of the "intimate and frank" details of Froude's book involved Carlyle's episodes of dyspepsia (recurrent episodes of near-constant stomach pains & other associated symptoms), which made Carlyle irritable and arguably influenced how Carlyle wrote his histories.