]> git.eshelyaron.com Git - emacs.git/commit
python: Better support := in electric-layout-mode
authorStefan Kangas <stefankangas@gmail.com>
Fri, 4 Oct 2024 21:31:09 +0000 (23:31 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 6 Oct 2024 06:48:46 +0000 (08:48 +0200)
commit02e5cc293a93994bf52d5e0b911f2e4733c5bb20
treea47df6914d7e7b1a76eceec2aa1b1f07b677ec23
parent7e0fb2c65f4cfc56997e15aef60c9fae34b7be0b
python: Better support := in electric-layout-mode

* lisp/progmodes/python.el (python-base-mode): Use heuristic to better
support the Python walrus operator := in electric-layout-rules.

(cherry picked from commit ee6e737fdf7a1bea3abec383a1bf0ae69ac8ca77)
lisp/progmodes/python.el