[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69920: Proposed fix - Toggling MIME inline attachment previews adds
From: |
Alcor |
Subject: |
bug#69920: Proposed fix - Toggling MIME inline attachment previews adds superfluous newlines |
Date: |
Mon, 22 Apr 2024 14:42:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> I also prefer #2, mostly because the other `mm-inline-*' functions here
> all ensure that inlined content ends with a newline, and even if there's
> no immediate consequence to not having it, I'd prefer the consistency.
> Alcor, would you be willing to update your patch?
Hello Eric, Eli –
Attached is an updated patch adjusting the `delete-region' call in the
undisplayer to account for the additional newline, as discussed earlier.
I have tested this change on Emacs 29.3 (Linux/GTK) with multiple
image/png attachments and can confirm it works.
Cheers,
-A.
0001-Ensure-that-inline-preview-undisplayer-removes-added.patch
Description: Text Data