mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
editor/format: add +format|enable-on-save alias
This commit is contained in:
@ -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."
|
||||||
|
Reference in New Issue
Block a user