summaryrefslogtreecommitdiff
path: root/lisp/textmodes/fill.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes/fill.el')
-rw-r--r--lisp/textmodes/fill.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index c285491a305..7d951ff16e8 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -900,6 +900,12 @@ region, instead of just filling the current paragraph."
(equal hash (buffer-hash)))
(set-buffer-modified-p nil)))))
+(defun unfill-paragraph ()
+ "That thing."
+ (interactive)
+ (let ((fill-column (/ most-positive-fixnum 2)))
+ (fill-paragraph)))
+
(declare-function comment-search-forward "newcomment" (limit &optional noerror))
(declare-function comment-string-strip "newcomment" (str beforep afterp))