Add a doc string to simple.el (bug#67355)
* lisp/simple.el (kill-buffer--possibly-save): Add doc string.
This commit is contained in:
parent
5a5e36d2aa
commit
662d54775d
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue