Hi, right, but if they directly were buffer-local from the very beginning, one wouldn't have to be jumping between files to understand that. Call it 'pedantic time optimisation' from someone getting older ;-)
best, /PA On Sun, 3 Nov 2024 at 19:02, Ihor Radchenko <yanta...@posteo.net> wrote: > 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> > -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet