mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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.
|
||||
|
Reference in New Issue
Block a user