Subject: bug#67355: closed (Re: bug#67355: [PATCH] Add doc string to simple.el)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 23 Nov 2023 15:31:02 +0000

Your bug report

#67355: [PATCH] Add doc string to simple.el

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
67355: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67355
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#67355: [PATCH] Add doc string to simple.el
From: Eli Zaretskii <[email-masked]>
To: Jeremy Bryant <[email-masked]>
Cc: [email-masked]
Date: Thu, 23 Nov 2023 17:29:44 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Jeremy Bryant <[email-masked]>
> Cc: [email-masked]
> Date: Wed, 22 Nov 2023 22:23:37 +0000
> 
> Style noted, revised patch attached.

Thanks, installed on the emacs-29 branch, and closing the bug.

Subject: [PATCH] Add doc string to simple.el
From: Jeremy Bryant <[email-masked]>
To: [email-masked]
Date: Tue, 21 Nov 2023 23:33:50 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Tags: patch

This patch adds a doc string to simple.el where there was none.

Please confirm if this is good to install or if any refinements are
needed.  Thanks in advance.

>From 2ca9dab72f2aacb51e0b3d6d6403c4659e168fb9 Mon Sep 17 00:00:00 2001
From: Jeremy Bryant <[email-masked]>
Date: Tue, 21 Nov 2023 23:27:44 +0000
Subject: [PATCH] Add doc string to simple.el

* lisp/simple.el (kill-buffer--possibly-save): Add doc string.
---
 lisp/simple.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/simple.el b/lisp/simple.el
index b770d9d7d33..69d29bc306b 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -10863,6 +10863,9 @@ scratch-buffer
   (pop-to-buffer-same-window (get-scratch-buffer-create)))
 
 (defun kill-buffer--possibly-save (buffer)
+  "Prompt user whether to kill BUFFER, possibly saving it first.
+
+This assumes the buffer is known to be modified."
   (let ((response
          (cadr
           (read-multiple-choice
-- 
2.40.1