[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#67355: [PATCH] Add doc string to simple.el
From: |
Jeremy Bryant |
Subject: |
bug#67355: [PATCH] Add doc string to simple.el |
Date: |
Wed, 22 Nov 2023 22:23:37 +0000 |
>
>> (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."
>
> This prefers the description of what function does to describing its
> role. I think it is better to do the opposite:
>
> Ask the user to confirm killing of a modified BUFFER.
>
> If the user confirms, optionally save BUFFER that is about to be
> killed.
Style noted, revised patch attached.
0001-Add-doc-string-to-simple.el.patch
Description: Text Data