[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55573: 29.0.50; python.el font-locks invalid class/function names
From: |
Lars Ingebrigtsen |
Subject: |
bug#55573: 29.0.50; python.el font-locks invalid class/function names |
Date: |
Sun, 22 May 2022 18:53:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
kobarity <kobarity@gmail.com> writes:
> When the following Python file is loaded using emacs -Q and M-x
> find-file, "1func" is font-locked as a function name although it is not
> a valid function name.
>
> #+begin_src python
> def 1func():
> pass
> #+end_src
>
> Attached is my proposal to fix this issue.
Thanks; pushed to Emacs 29.
For future patches, including ChangeLog style commit messages would be
appreciated.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no