Mosè Giordano <[email protected]> writes:

> On Tue, 20 Aug 2019 at 22:57, Arash Esbati <[email protected]> wrote:
>>
>> Hi all,
>>
>> there is a lisp snippet in the manual for `TeX-electric-math'[1]:
>>
>>     (add-hook 'plain-TeX-mode-hook
>>               (lambda () (set (make-variable-buffer-local 'TeX-electric-math)
>>                               (cons "$" "$"))))
>>     (add-hook 'LaTeX-mode-hook
>>               (lambda () (set (make-variable-buffer-local 'TeX-electric-math)
>>                               (cons "\\(" "\\)"))))
>>
>> `make-variable-buffer-local' seems wrong to me, I think
>> `make-local-variable' is the intended function.
>
> I think you're correct.

Hi Mosè,

thanks for your response.  I've pushed the change.  Closing this one.

Best, Arash



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to