Added a format-all-region-or-buffer command. I don't know any reason to not have it, and the benefit is that you can bind it to a single key and it'll do the right thing.
I used the suffix -region-or-bufferrather than -buffer-or-region for consistency with the elisp-eval-region-or-buffer function introduced in Emacs 29.1
Added a
format-all-region-or-buffer
command. I don't know any reason to not have it, and the benefit is that you can bind it to a single key and it'll do the right thing.I used the suffix
-region-or-buffer
rather than-buffer-or-region
for consistency with theelisp-eval-region-or-buffer
function introduced in Emacs 29.1