1

What do I put in my init to enable a mode for all files?

Say I want to have auto-fill-mode enabled at all times.

I've seen this post and some others, but all are focused on a specific task. I'd like to document a general solution to a common search that uses best practices.

young_souvlaki
  • 526
  • 2
  • 13
  • 1
    [define-globalized-minor-mode](https://www.gnu.org/software/emacs/manual/html_node/elisp/Defining-Minor-Modes.html#Defining-Minor-Modes) perhaps? – NickD Sep 29 '20 at 21:14

1 Answers1

1

It depends on the mode.

In your case you can do:

(auto-fill-mode 1)
djangoliv
  • 3,169
  • 16
  • 31