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:
Henrik Lissner 2018-08-29 12:46:24 +02:00
parent 902386b60f
commit cb5c9cc9ea
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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.