]> git.eshelyaron.com Git - emacs.git/commit
Add new macro with-buffer-unmodified-if-unchanged
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 3 May 2022 19:22:53 +0000 (21:22 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 3 May 2022 19:22:53 +0000 (21:22 +0200)
commit59353ec7b579213de3c70950d5d938b7540ce72f
treee7f3cae34f7c91cb880a01a85565c00086101a37
parent8ef34a065a10330777b172a7e5608f7939e7af29
Add new macro with-buffer-unmodified-if-unchanged

* lisp/emacs-lisp/subr-x.el (with-buffer-unmodified-if-unchanged):
New macro.
* lisp/textmodes/fill.el (fill-paragraph): Macro code copied from
here.  Adjust and use the macro.
etc/NEWS
lisp/emacs-lisp/subr-x.el
lisp/textmodes/fill.el