]> git.eshelyaron.com Git - emacs.git/commit
Allow extending 'save-some-buffers'
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 23 May 2022 07:45:35 +0000 (09:45 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 23 May 2022 07:45:35 +0000 (09:45 +0200)
commit1cfb89dc79b76923c1c93cb44e3e4836b6a8c2bf
tree81e7e9a50ea5edc92edacedc18e8c1f3cdb2b11e
parentf471eaf44058cfec9e5f7eb53d0a66520f4d4f6d
Allow extending 'save-some-buffers'

* lisp/abbrev.el (abbrev--possibly-save): Separated out from
`save-some-buffers'.
(save-some-buffers-functions): Add to the save function.

* lisp/files.el (save-some-buffers-functions): New variable.
(save-some-buffers): Use it.
(save-buffers-kill-emacs): Also use it to see if we have something
to save (bug#55579).
etc/NEWS
lisp/abbrev.el
lisp/files.el