Pedro Andres Aranda Gutierrez <paag...@gmail.com> writes: > Observation: Variables controlled by #+STARTUP are ‘defcustom’, so > they will interfere: for example, the beamer startup option may appear > when working on the lecture file or may be suppressed in the > presentations depending on how I load the org-files. > > Question: why are the variables controlled by #+STARTUP not ‘defvar-local’ ?
When options are set via #+STARTUP keyword, they automatically become buffer-local. See `org-set-regexps-and-options'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>