editor/format: add +format|enable-on-save alias

This commit is contained in:
Henrik Lissner 2018-08-27 10:30:31 +02:00
parent a005fed274
commit 98b5c95ee5
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -223,6 +223,9 @@ is selected)."
;; Hooks ;; Hooks
;; ;;
;;;###autoload
(defalias '+format|enable-on-save #'format-all-mode)
;;;###autoload ;;;###autoload
(defun +format|on-save () (defun +format|on-save ()
"Runs `format-all-buffer' without moving the cursor." "Runs `format-all-buffer' without moving the cursor."