The auto fill feature in Emacs is an ancient feature from a time when text software was unable to format paragraphs by itself. Now, we live in a world where software can format paragraphs automatically. This feature automatically adds line breaks if a line is too long.

Lately, I’ve found myself disabling this feature more often, so I decided to disable it globally. To do this, you need to add the following code to your .emacs file:

(turn-off-auto-fill)
(remove-hook 'text-mode-hook #'turn-on-auto-fill)

Source: How can I disable auto-fill mode in Emacs?

Next - Previous