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:")`

From: Lin Sun <[email-masked]>
Date: Wed, 8 Jun 2022 23:02:18 +0000

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

B.R.
Lin