juliapath / evil-numbers

Increment and decrement numbers in Emacs
GNU General Public License v3.0
39 stars 6 forks source link

Unify decimal logic with bin/octal/hex handling #19

Closed ideasman42 closed 3 years ago

ideasman42 commented 3 years ago

Currently there are separate code-paths for decimal and octal/binary/hex number handling.

This PR unifies their logic to reduce code duplication and complexity.