emacs/lisp/calc
Stefan Monnier 11c9343fe6 calc.el, calc-(ext|poly), calccomp: Use lexical-binding
* lisp/calc/calc-ext.el: Use lexical-binding, silence warnings.
(calc-init-extensions): Remove a few functions which can't be called
directly since they depend on dynamically scoped vars.
(calc-embedded-quiet): Declare.
(math-defcache): Use 'declare'.
(math-normalize-a): Remove declaration.
(math-normalize-nonstandard): Receive 'a' as arg instead.
(math-defintegral): Use 'declare'.
(math-exp-pos, math-exp-old-pos, math-exp-keep-spaces, math-rb-h2)
(math-read-big-baseline, math-read-big-h2, math-read-big-err-msg)
(math-exp-token, math-expr-data, math-exp-str): Declare.
(math-map-tree, math-read-expr): Avoid dynvars as formal arguments.

* lisp/calc/calc-poly.el: Use lexical-binding, silence warnings.
Turn some comments into docstrings.
(math-poly-div): Avoid dynvars as formal arguments.
(math-poly-base-top-expr): Move declaration before first use.
(calcFunc-factors, math-factor-expr, math-factor-expr-try)
(calcFunc-factor): Avoid dynvars as formal arguments.

* lisp/calc/calc.el: Use lexical-binding, silence warnings.
(math-normalize-a): Remove.
(math-normalize): Use lexical var 'a' instead.
(math-svo-c): Remove.
(math-stack-value-offset): Pass 'c' explicitly as arg to
math-stack-value-offset-fancy instead.

* lisp/calc/calccomp.el: Use lexical-binding, silence warnings.
(math-svo-c): Remove.
(math-stack-value-offset-fancy): Use new arg 'c' instead.
(math-comp-to-string-flat): Avoid dynvars as formal arguments.
2018-11-20 16:09:35 -05:00
..
calc-aent.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-alg.el * lisp/calc/calc-alg.el: Use lexical-binding and silence warnings 2018-11-20 10:37:46 -05:00
calc-arith.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-bin.el Audit use of lsh and fix glitches 2018-08-21 13:44:32 -07:00
calc-comb.el Audit use of lsh and fix glitches 2018-08-21 13:44:32 -07:00
calc-cplx.el Fix math-imaginary-i check 2018-08-28 08:04:17 -04:00
calc-embed.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-ext.el calc.el, calc-(ext|poly), calccomp: Use lexical-binding 2018-11-20 16:09:35 -05:00
calc-fin.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-forms.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-frac.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-funcs.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-graph.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-help.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-incom.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-keypd.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-lang.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-macs.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-map.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-math.el Audit use of lsh and fix glitches 2018-08-21 13:44:32 -07:00
calc-menu.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-misc.el Standardize calc bug reporting instructions 2018-09-03 10:28:07 -07:00
calc-mode.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-mtx.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-nlfit.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-poly.el calc.el, calc-(ext|poly), calccomp: Use lexical-binding 2018-11-20 16:09:35 -05:00
calc-prog.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-rewr.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-rules.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-sel.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-stat.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-store.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-stuff.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-trail.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-undo.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-units.el * lisp/calc/calc-alg.el: Use lexical-binding and silence warnings 2018-11-20 10:37:46 -05:00
calc-vec.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc-yank.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calc.el calc.el, calc-(ext|poly), calccomp: Use lexical-binding 2018-11-20 16:09:35 -05:00
calcalg2.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calcalg3.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
calccomp.el calc.el, calc-(ext|poly), calccomp: Use lexical-binding 2018-11-20 16:09:35 -05:00
calcsel2.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00