diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2019-07-16 17:18:32 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2019-07-16 17:37:46 +0200 |
commit | a87840fffbf471d53eba17ea683728125d2d4767 (patch) | |
tree | 3529d052a679c420f27a7d44bdbb8d80d9f7779d /lisp/emacs-lisp | |
parent | 0a2461be9edb218bf9ca56156d8966a2421f13a7 (diff) | |
download | emacs-a87840fffbf471d53eba17ea683728125d2d4767.tar.gz emacs-a87840fffbf471d53eba17ea683728125d2d4767.tar.bz2 emacs-a87840fffbf471d53eba17ea683728125d2d4767.zip |
Fix calc number formatting with digit grouping (bug#36689)
The functions math-format-hex and math-format-octal were not
implemented, yet called, leading to a crash when using hex or octal
radix with digit grouping.
* test/lisp/calc/calc-tests.el (calc-test-format-radix): New test.
* lisp/calc/calc-ext.el: Don't declare non-existing functions.
(math--format-integer-fancy): Don't call non-existing functions.
* lisp/calc/calc-bin.el (math-format-binary, math-binary-digits):
Simplify, fixing 0-padding bug.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions