editor/format: add +format|enable-on-save alias
This commit is contained in:
parent
a005fed274
commit
98b5c95ee5
1 changed files with 3 additions and 0 deletions
|
@ -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."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue