Max Nikulin <maniku...@gmail.com> writes: > On 11/07/2023 06:11, Evgenii Klimov wrote: >> I added `org-summary-todo' example function, that are advertized in >> `org-after-todo-statistics-hook', to my init file (with >> lexical-binding: t) and got a compilation warning: >> >> Warning (bytecomp): Unused lexical variable `org-log-states' > > May it be a typo? There is the `org-todo-log-states' variable added in > > : 70b6cc5da 2008-01-31 11:36:18 +0100 Carsten Dominik: Release 5.10a
Indeed. I fixed it myself on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?h=bugfix&id=0b6f9f Handled. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>