reddit / emacs

Set org-num-max-level in .org file

ragloo · 2022-05-11 16:10
Is it possible to set a specific value for org-num-max-level in each org-mode file like with #+OPTIONS: or #+startup ? Thanks.
Phil-Hudson · 2022-05-12 10:44
Where is that variable defined? It is not bound at runtime on my system (Org 9.5.2).
ragloo · 2022-05-12 11:24
org-num minor mode has to be activated for me to be able to access this variable
yantar92 · 2022-05-13 12:54
You cannot do it with #+startup or #+options, but you can set file-local variable via M-x make-local-variable