]> git.eshelyaron.com Git - emacs.git/commit
Fix optional parameter passing in calc-fin-* functions
authorRaimon Grau <raimonster@gmail.com>
Sat, 19 Oct 2019 09:46:17 +0000 (11:46 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 19 Oct 2019 09:46:17 +0000 (11:46 +0200)
commitba8944bba8aaa58d60af955a8ea676a5260af346
tree2ac803bf3f6eec5dc46f68049c5680ac96ac5796
parent842cc05d5ca5e54aef5c455a92203fd512e89202
Fix optional parameter passing in calc-fin-* functions

* lisp/calc/calc-fin.el (calc-fin-pv, calc-fin-fv, calc-fin-pmt)
(calc-fin-pner, calc-fin-rate): Add support for an optional
parameter standing for an initial lump. The functions already
support it but the extra parameter was not taken into account in
stack mode. This commit it takes into consideration when deciding
if a function takes 3 or 4 parameters (bug#37649).
lisp/calc/calc-fin.el