[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55865: [BUG] 28.1.50; Msg "Local variables list is not properly term
From: |
Lars Ingebrigtsen |
Subject: |
bug#55865: [BUG] 28.1.50; Msg "Local variables list is not properly terminated." displayed when opening a file with line `print("Local Variable:")` |
Date: |
Thu, 09 Jun 2022 14:56:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lin Sun <sunlin7@hotmail.com> writes:
> Create a file /tmp/test.sh with one line:
>
> print("Local Variables:")
>
> Then open this test.sh file with emacs, a message appeared in the
> *Message* buffer:
>
>>Local variables list is not properly terminated.
>
> The message produced by function `hack-local-variables--find-variables`.
>
> Please help to check it. Thanks
I don't think there's anything to fix here -- Emacs makes a guess that
this is a Local Variable section, but then it turns out that it's not,
and it says so.
So if you don't want that message, you have to obfuscate the string.
Closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no