[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 662d54775d5: Add a doc string to simple.el (bug#67355)
From: |
Eli Zaretskii |
Subject: |
emacs-29 662d54775d5: Add a doc string to simple.el (bug#67355) |
Date: |
Thu, 23 Nov 2023 10:29:27 -0500 (EST) |
branch: emacs-29
commit 662d54775d53cceb39cc65f1275972b6272a8158
Author: Jeremy Bryant <jb@jeremybryant.net>
Commit: Eli Zaretskii <eliz@gnu.org>
Add a doc string to simple.el (bug#67355)
* lisp/simple.el (kill-buffer--possibly-save): Add doc string.
---
lisp/simple.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lisp/simple.el b/lisp/simple.el
index b770d9d7d33..9ef348f74dc 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -10863,6 +10863,10 @@ If the buffer doesn't exist, create it first."
(pop-to-buffer-same-window (get-scratch-buffer-create)))
(defun kill-buffer--possibly-save (buffer)
+ "Ask the user to confirm killing of a modified BUFFER.
+
+If the user confirms, optionally save BUFFER that is about to be
+killed."
(let ((response
(cadr
(read-multiple-choice
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 662d54775d5: Add a doc string to simple.el (bug#67355),
Eli Zaretskii <=