Don't autoformat emacs-lisp-mode buffers on save
This is much too unpredictable, considering the variable nature of elisp indentation, and the possibility that certain functions and their indent behavior may not be defined/declared when the file is being formatted.
This commit is contained in:
parent
902386b60f
commit
cb5c9cc9ea
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
;;; editor/format/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(defvar +format-on-save-enabled-modes t
|
||||
(defvar +format-on-save-enabled-modes '(not emacs-lisp-mode)
|
||||
"A list of major modes in which to enable `format-all-mode'.
|
||||
|
||||
This mode will auto-format buffers when you save them.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue