fix: format-all upstream definitions

Upstream renamed definitions in
f3ed09c430 .
This commit is contained in:
argo 2019-06-08 16:46:43 +02:00
parent 56cd92ab3d
commit 12233811a8
4 changed files with 27 additions and 27 deletions

View file

@ -47,7 +47,7 @@ This is controlled by `+format-on-save-enabled-modes'."
;; Allow a specific formatter to be used by setting `+format-with', either
;; buffer-locally or let-bound.
(advice-add #'format-all-probe :around #'+format*probe)
(advice-add #'format-all--probe :around #'+format*probe)
;; Doom uses a modded `format-all-buffer', which
;; 1. Doesn't move the cursorafter reformatting,