Bastien <b...@gnu.org> writes: > Nicolas Goaziou <n.goaz...@gmail.com> writes: > >> (cond (org-startup-indented (require 'org-indent) (org-indent-mode 1)) >> ((org-bound-and-true-p org-indent-mode) (org-indent-mode -1))) > > This will not work, because (org-bound-and-true-p org-indent-mode) > returns nil at the time `org-mode' is called.
If it returns nil, it means that `org-startup-indented' is nil and either `org-indent' isn't loaded or `org-indent-mode' is off. I don't get why it wouldn't work. Regards, -- Nicolas Goaziou