On Mon, 29 Mar 2021 23:20:02 -0400, Kyle Meyer <[email protected]> said:
> Presumably you arrived at this patch because you hit into a particular
> issue (related the lexical binding conversion in 129c33ddd).
> Could you provide a reproducer (or at least a description) for that
> problem? That'd be useful for reviewing this patch, as well as
> assessing if the conversion has other similar issues.
Sure:
```org
* TODO Header
** TODO Subheader
* Setup
#+begin_src emacs-lisp :results none
(setq org-agenda-prefix-format '((agenda . " %i %-12:c%?-12t% s")
(todo . "% l %i %-12:c")
(tags . " %i %-12:c")
(search . " %i %-12:c"))
org-agenda-files (list (buffer-file-name
(current-buffer))))
(org-todo-list "TODO")
#+end_src
```
Note the "% l" on the todo format to use level variable.
Evaluating this will result in "if: Symbol’s value as variable is void:
level" in commit 68db6fc06.
--
Att.,
Renato Ferreira