Pring To The Message Buffer In Emacs

Use this format:

Code
(message "%s" (window-list))
Results
(#)