[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#57532: Restructure mailcap-add-mailcap-entry to improve readability
From: |
Lars Ingebrigtsen |
Subject: |
bug#57532: Restructure mailcap-add-mailcap-entry to improve readability |
Date: |
Fri, 02 Sep 2022 12:09:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Felix Dietrich <felix.dietrich@sperrhaken.name> writes:
> ‘mailcap-add-mailcap-entry’ is written in a way that makes it hard to
> follow. My patch aims to improve its readability. In order to show
> that my modification retains the original functionality, another Patch
> adds ERT test cases for this function. The new version also shows
> clearer an issue with the current implementation that causes some
> mailcap entries to be forgotten; this is mentioned in a comment. A
> docstring for the function is added as well.
Thanks; pushed to Emacs 29.