[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ignore Local Variables list in source blocks
From: |
Joseph Turner |
Subject: |
Re: Ignore Local Variables list in source blocks |
Date: |
Fri, 20 Dec 2024 18:13:37 -0800 |
Nikolaos Chatzikonstantinou <nchatz314@gmail.com> writes:
[...]
> If I do something like
>
> #+begin_comment
> Local Variables:
> End:
> #+end_comment
>
> #+begin_src
> Local Variables:
> foo: 40
> End:
> #+end_src
>
> Then the variable is not set, as Emacs does not look for a Local
> Variables list more than once.
Thanks! This approach is a bit fragile, since Emacs only looks at the
last 3000 characters for "Local Variables:".
Joseph