Fix problem with `format-alist' marking all the text in the buffer
commitd9ccc3fa2ac0ce1bd522ddc26070edfac55c69a7
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 1 Jun 2021 08:22:57 +0000 (1 10:22 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 1 Jun 2021 08:22:57 +0000 (1 10:22 +0200)
treec5d6bd59b3d9a6471dba6ecda8794c3fb1cbccb9
parent43a9c3f725967001cfbcb9e85525f035d628bf36
Fix problem with `format-alist' marking all the text in the buffer

* lisp/format.el (format-decode-run-method): Use it to avoid
marking the entire buffer (bug#11691).

* lisp/simple.el (shell-command-on-region): Allow replacing text
without activating the mark.
lisp/format.el
lisp/simple.el