lisp/org-{macs, list}.el: Fix lexical warnings
commit42228a99ca23157a66ef187834c71f29e7e039a4
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 4 May 2015 15:32:43 +0000 (4 15:32 +0000)
committerBastien <bzg@gnu.org>
Wed, 20 May 2015 05:57:20 +0000 (20 07:57 +0200)
tree7a9910c298ee220842e19e6a9007b4e152dfec88
parentc763faf529ef2e8f257a27df29531a4f77d633f5
lisp/org-{macs, list}.el: Fix lexical warnings

    * lisp/org-{macs,list}.el: Fix lexical warnings

    * lisp/org-list.el (org-list-struct): Remove unused var `ind'.
    (org-list-get-next-item, org-list-get-prev-item)
    (org-list-get-children): Mark unused arg `struct'.
    (org-list-use-alpha-bul-p): Remove unused var `bul'.
    (org-toggle-checkbox): Mark unused var.
    (org-update-checkbox-count): Remove unused var `box-num'.
    (org-adapt-indentation): Declare.
    (org-list-parse-list): Declare var instead of adding a dummy duplicate.
    (org-list-send-list): Remove unused var `txt'.
    (org-list-to-latex, org-list-to-texinfo): Mark unused arg `params'.
    (org-list-to-subtree): Add prefix to dyn-bind var, and declare them.

    * lisp/org-macs.el: Use `declare'.
    (org-with-limited-levels): Declare dyn-bound vars.
lisp/org-list.el
lisp/org-macs.el