emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

org-startup-folded does not work with directory local variables


From: Max Fujimoto
Subject: org-startup-folded does not work with directory local variables
Date: Tue, 3 May 2022 00:37:22 +0000 (UTC)

Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.17.6)

The variable org-startup-folded does not work expected in .dir-locals.el.
The option "#+startup: fold" works as expected.


To replicate
    - start emacs -q
    - create a test dir
    - create or copy an .org file with a few headers, sub headers and some content in(to) the test dir.
    - add "((org-mode . ((org-startup-folded . t))))" to "./.dir-locals.el"
    - open the org file
    - check M-x describe-variable to confirm variable org-startup-folded is set to t and not default value



thanks

reply via email to

[Prev in Thread] Current Thread [Next in Thread]