[Top][All Lists]

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

Re: TikZ support and ConTeXt environments

From: Ikumi Keita
Subject: Re: TikZ support and ConTeXt environments
Date: Wed, 09 Nov 2022 15:00:51 +0900

Hi Arash,

>>>>> Arash Esbati <> writes:
> Thanks, that was the missing piece.  I had in my mind that
> `TeX-auto-parser' is buffer-local.  Would it break something if we do
> this:
> diff --git a/tex.el b/tex.el
> index 317b8b49..49f95806 100644
> --- a/tex.el
> +++ b/tex.el
> @@ -3839,7 +3839,7 @@ The algorithm is as follows:
>    "Parsing TeX files from AUCTeX."
>    :group 'AUCTeX)

> -(defvar TeX-auto-parser '((styles TeX-auto-file TeX-run-style-hooks)))
> +(defvar-local TeX-auto-parser '((styles TeX-auto-file TeX-run-style-hooks)))
>  ;; Alist of parsed information.
>  ;; Each entry is a list with the following elements:
>  ;;

That alone wouldn't work. Suppose that you open two LaTeX files. The
second buffer wouldn't have `TeX-auto-parser' updated.

Ikumi Keita
#StandWithUkraine #StopWarInUkraine

reply via email to

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