diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2016-09-07 15:21:26 +0200 |
---|---|---|
committer | Michal Nazarewicz <mina86@mina86.com> | 2016-09-12 13:25:13 +0200 |
commit | 728e40088d054516c1cb5f5412cdab73ed84861d (patch) | |
tree | 2c4a10657dc0174450d10f35fea6d48d9d4f1475 /src/regex.c | |
parent | 74c5b735212ccd5f335312db693fd4754fddbce1 (diff) | |
download | emacs-728e40088d054516c1cb5f5412cdab73ed84861d.tar.gz emacs-728e40088d054516c1cb5f5412cdab73ed84861d.tar.bz2 emacs-728e40088d054516c1cb5f5412cdab73ed84861d.zip |
Refactor common code in {upcase,downcase,capitalize}-word functions
* 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 operate_on_word.
Diffstat (limited to 'src/regex.c')
0 files changed, 0 insertions, 0 deletions