Created
January 19, 2010 16:48
-
-
Save artagnon/281075 to your computer and use it in GitHub Desktop.
Reformat hard wrapped lines in Emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Reformat hard-wrapped regions | |
(defun reformat-hard-wrap (beg end) | |
(interactive "r") | |
(shell-command-on-region beg end "fmt -w2000" nil t)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment