The exact circumstances that stimulated this revelation were later described by Brigham Young. Joseph’s leading men met regularly, he said, in a room above the prophet’s kitchen. Emma complained bitterly after each gathering about having to clean so filthy a floor, for “the first thing they did was to light their pipes, and, while smoking, talk about the great things of the kingdom, and spit all over the room.” This “made the Prophet think upon the matter, and he inquired of the Lord relating to the conduct of the Elders in using tobacco, and the revelation known as the Word of Wisdom was the
...more
Instead of the men cleaning up after themselves (or get better at using spittoons), all the members of the Church were suggested to abstain from tobacco and other items. I'm assuming Emma still continued to clean the meeting space after this decree was created.

