The opposite of fill paragraph

This commit is contained in:
larstvei 2022-09-17 13:13:49 +02:00
parent cea34865e0
commit 4b032ecc17

View File

@ -719,6 +719,15 @@
:test 'string-equal)))))
#+END_SRC
The opposite of fill paragraph (from [[https://www.emacswiki.org/emacs/UnfillParagraph][EmacsWiki]]),
#+begin_src emacs-lisp
(defun unfill-paragraph ()
(interactive)
(let ((fill-column most-positive-fixnum))
(fill-paragraph nil (region-active-p))))
#+end_src
** Advice
An advice can be given to a function to make it behave differently. This