I think he means that when you are in a really good groove, you can be way more productive (and happy to keep working).
I don't know about anyone else, but I can definitely relate. This is 100% about your state of mind.
Happy code comes from a happy coder :)