Org-mode with auto-fill-mode

Here’s a pro-tip on enabling auto-fill-mode for all org-mode files that I couldn’t find anywhere online. Add this to your $HOME/.emacs file:

(add-hook 'org-mode-hook 'turn-on-auto-fill)

And auto-fill will be enabled anytime you’re editing an org-file.

Published by Piotr Kaźmierczak

I like jazz and cycling.

2 replies on “Org-mode with auto-fill-mode”

  1. You get a similar but more sweeping effect by customizing text-mode-hook (afaik org-mode is a text mode, so are many others). My emacs (23, ubuntu lucid package) has predefined customize options to turn on flyspell and auto-fill.

Comments are closed.