mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 11:06:17 +00:00
[emacs] Add auto-fill mode
This commit is contained in:
parent
1faeb1c5ef
commit
c76e77e47e
1 changed files with 10 additions and 0 deletions
|
@ -954,6 +954,16 @@ directive.
|
|||
'(text-mode-hook
|
||||
org-mode-hook)))
|
||||
#+END_SRC
|
||||
*** Auto-Fill
|
||||
Automatically wrap paragraphs while writing in text modes.
|
||||
|
||||
#+name: packages
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(mapcar (lambda (mode-hook)
|
||||
(add-hook mode-hook #'auto-fill-mode))
|
||||
'(text-mode-hook
|
||||
org-mode-hook))
|
||||
#+END_SRC
|
||||
*** Unfill
|
||||
Re-flowing paragraphs with =fill-paragraph= is nice, but there are
|
||||
occasions when it's useful to do the inverse, and get rid of the line
|
||||
|
|
Loading…
Reference in a new issue