projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a5e36d
)
Add a doc string to simple.el (bug#67355)
author
Jeremy Bryant
<jb@jeremybryant.net>
Tue, 21 Nov 2023 23:27:44 +0000
(23:27 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 23 Nov 2023 15:28:43 +0000
(17:28 +0200)
* lisp/simple.el (kill-buffer--possibly-save): Add doc string.
lisp/simple.el
patch
|
blob
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index b770d9d7d3363e23847362b733fa833ccfd63907..9ef348f74dc4e45437dc43d7c32c7ddb9a53343c 100644
(file)
--- 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