]> git.eshelyaron.com Git - emacs.git/commit
Fix calculator entry of numbers with negative exponents (bug#41347)
authorMattias Engdegård <mattiase@acm.org>
Sun, 17 May 2020 16:11:27 +0000 (18:11 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 18 May 2020 09:27:40 +0000 (11:27 +0200)
commitb1fe27d77db8f819641231ca46725f3eed0b4d9b
tree6f21824ca4c36f3fcd7968bc40c7d853c7dea1f9
parent2216468786f64cfa403dface1dab1cd20b84d5aa
Fix calculator entry of numbers with negative exponents (bug#41347)

* lisp/calculator.el (calculator-string-to-number):
Remove obsolete string transformations preventing entry of 1e-3 etc.
Keep one transformation to allow entry of "1.e3".
Reported by Chris Zheng.
lisp/calculator.el