Skip to content

Instantly share code, notes, and snippets.

@jorgenschaefer
Created February 26, 2013 00:20
Show Gist options
  • Select an option

  • Save jorgenschaefer/5034639 to your computer and use it in GitHub Desktop.

Select an option

Save jorgenschaefer/5034639 to your computer and use it in GitHub Desktop.
;; By Stefan Monnier <foo at acm.org>. It is the opposite of
;; fill-paragraph: Takes a multi-line paragraph and makes it into a
;; single line of text.
(global-set-key (kbd "C-c u") 'unfill-paragraph)
(defun unfill-paragraph ()
(interactive)
(let ((fill-column (point-max)))
(fill-paragraph nil)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment