Fix #5001: disable formatter in org-msg-edit-mode

This commit is contained in:
Henrik Lissner 2021-05-07 13:31:30 -04:00
parent 578dddd3fe
commit 61376a2ca0

View File

@ -1,11 +1,12 @@
;;; editor/format/config.el -*- lexical-binding: t; -*- ;;; editor/format/config.el -*- lexical-binding: t; -*-
(defvar +format-on-save-enabled-modes (defvar +format-on-save-enabled-modes
'(not emacs-lisp-mode ; elisp's mechanisms are good enough '(not emacs-lisp-mode ; elisp's mechanisms are good enough
sql-mode ; sqlformat is currently broken sql-mode ; sqlformat is currently broken
tex-mode ; latexindent is broken tex-mode ; latexindent is broken
latex-mode latex-mode
rustic-mode) ; handled by `rustic-rustfmt' rustic-mode ; handled by `rustic-rustfmt'
org-msg-edit-mode) ; doesn't need a formatter
"A list of major modes in which to reformat the buffer upon saving. "A list of major modes in which to reformat the buffer upon saving.
If this list begins with `not', then it negates the list. If this list begins with `not', then it negates the list.