]> git.eshelyaron.com Git - emacs.git/commit
Allow `kill-buffer' query to save the buffer first
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 24 Jun 2022 09:04:03 +0000 (11:04 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 24 Jun 2022 09:04:51 +0000 (11:04 +0200)
commite193ea3c34b01a09806cffbca2d3b5657881419b
tree465d5d1f1b70d2fc9163c7a3d48ba4b8dc8c1d97
parentf2b7525e3875cdf5a9b01ca21bc393367ec1f703
Allow `kill-buffer' query to save the buffer first

* lisp/loadup.el ("emacs-lisp/rmc"): Preload.

* lisp/simple.el (kill-buffer--possibly-save): New function to
offer to save the buffer before killing (bug#47075).

* src/buffer.c (Fkill_buffer): Call the new function to query the
user.
(syms_of_buffer): Define symbol.
lisp/loadup.el
lisp/simple.el
src/buffer.c