mirror of
https://github.com/larstvei/dot-emacs.git
synced 2024-11-26 07:28:31 +00:00
The opposite of fill paragraph
This commit is contained in:
parent
cea34865e0
commit
4b032ecc17
9
init.org
9
init.org
@ -719,6 +719,15 @@
|
|||||||
:test 'string-equal)))))
|
:test 'string-equal)))))
|
||||||
#+END_SRC
|
#+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
|
** Advice
|
||||||
|
|
||||||
An advice can be given to a function to make it behave differently. This
|
An advice can be given to a function to make it behave differently. This
|
||||||
|
Loading…
Reference in New Issue
Block a user