You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
convertLispyValue seems to translate nil into false, but when I try to add a check for such value in computeToc to assign exportTocLevel to 0 (by the way, reassigning function argument values is very bad style), it ends up being ignored. I guess I can't make any sense of OOP spaghetti, and I can't provide a patch.
Looking at code of this library,
toc
in options is expected to be a number, which is the level to which table of contents should be displayed. Hoverer, a value ofnil
is silently ignored, even though theorg-mode
manual liststoc:nil
as a way to suppress displaying the table of contents. This breaks manyorg-mode
documents, as official way to disable ToCs is ignored by this library.The text was updated successfully, but these errors were encountered: