or something equally awful. Here's a piece of code I found ages ago that provides a simple command to undo the formatting.
;; swiped from http://linux.umbc.edu/lug-mailing-list/2002-06/msg00300.html
(defun unfill-paragraph ()
(let ((saved-fill-col fill-column))
(setq fill-column 9999999)
(setq fill-column saved-fill-col)
(global-set-key "\C-c`" 'unfill-paragraph)
Just add it to your .emacs.el. To use it without restarting emacs, run M-x eval-buffer on .emacs.el.