I have tried:
(add-hook 'git-commit-mode-hook '(lambda () (setq fill-column 72) (turn-on-auto-fill)))
- In both cases,
auto-fill-modeis not active in the
COMMIT_EDITMSGbuffer unless I manually turn it on with
M-x auto-fill-mode RET.
- Even when
auto-fill-modeis turned on, I can still type past the 72nd character on the same line.
Also, correct me if I'm wrong but it seems both
git-commit-turn-on-auto-fill are deprecated.