]> git.eshelyaron.com Git - emacs.git/commit
* lisp/org/org-{macs,list}.el: Fix lexical warnings
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 4 May 2015 15:32:39 +0000 (11:32 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 4 May 2015 15:32:39 +0000 (11:32 -0400)
commit9d4eaff316fffc00fecb2dc1b655bc0df6953144
treeb42f2970f54b217e157eefc8c982e6078d8a0b65
parent8c392682fc9938b2ee02cc2741bf6f680281b0c7
* lisp/org/org-{macs,list}.el: Fix lexical warnings

* lisp/org/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/org-macs.el: Use `declare'.
(org-with-limited-levels): Declare dyn-bound vars.
lisp/org/org-list.el
lisp/org/org-macs.el