[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24398: [PATCH] Refactor common code in {upcase, downcase, capitalize
From: |
Michal Nazarewicz |
Subject: |
bug#24398: [PATCH] Refactor common code in {upcase, downcase, capitalize}-word functions |
Date: |
Mon, 12 Sep 2016 13:26:16 +0200 |
User-agent: |
Notmuch/0.19+53~g2e63a09 (http://notmuchmail.org) Emacs/25.1.50.106 (x86_64-unknown-linux-gnu) |
On Sat, Sep 10 2016, Eli Zaretskii wrote:
>> From: Michal Nazarewicz <mina86@mina86.com>
>> Date: Fri, 9 Sep 2016 23:59:19 +0200
>>
>> * src/casefiddle.c (operate_on_word): Removed in favour of…
>> (casify_word) …new function which does what operate_on_word did plus
>> what all of the common code from *-word functions.
>> (upcase-word, downcase-word, capitalize-word): Move code common between
>> those functions (pretty much the whole body of those functions) into
>> casify_word and use that instead of now deleted operato_on_word.
> ^^^^^^^^^^^^^^^
> A typo.
Fixed and pushed.
> Thanks.
--
Best regards
ミハウ “𝓶𝓲𝓷𝓪86” ナザレヴイツ
«If at first you don’t succeed, give up skydiving»