diff options
| author | Yuan Fu | 2022-11-26 14:08:11 -0800 |
|---|---|---|
| committer | Yuan Fu | 2022-11-26 15:40:24 -0800 |
| commit | d884b43634b149aa504bc204fdce9690a5a880d0 (patch) | |
| tree | c2740a62813ef4fa1929dbd61088c0d069220839 /lisp/progmodes/python.el | |
| parent | 14d54212ea46dbd8c950c9852318597e0e47908d (diff) | |
| download | emacs-d884b43634b149aa504bc204fdce9690a5a880d0.tar.gz emacs-d884b43634b149aa504bc204fdce9690a5a880d0.zip | |
Partially fix some python tests (bug#59477)
This fixes
python-font-lock-assignment-statement-multiline-1
python-font-lock-assignment-statement-multiline-2
python-font-lock-assignment-statement-multiline-3
python-font-lock-assignment-statement-multiline-4
python-font-lock-assignment-statement-multiline-5
python-font-lock-assignment-statement-multiline-6
but leaves
python-tests--fill-long-first-line
unfixed.
* lisp/progmodes/python.el (python-mode): Add the missing setup.
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 2a7e8a4081d..9bbcac612fd 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -6598,7 +6598,9 @@ implementations: `python-mode' and `python-ts-mode'." | |||
| 6598 | `(,python-font-lock-keywords | 6598 | `(,python-font-lock-keywords |
| 6599 | nil nil nil nil | 6599 | nil nil nil nil |
| 6600 | (font-lock-syntactic-face-function | 6600 | (font-lock-syntactic-face-function |
| 6601 | . python-font-lock-syntactic-face-function))) | 6601 | . python-font-lock-syntactic-face-function) |
| 6602 | (font-lock-extend-after-change-region-function | ||
| 6603 | . python-font-lock-extend-region))) | ||
| 6602 | (setq-local syntax-propertize-function | 6604 | (setq-local syntax-propertize-function |
| 6603 | python-syntax-propertize-function) | 6605 | python-syntax-propertize-function) |
| 6604 | (setq-local imenu-create-index-function | 6606 | (setq-local imenu-create-index-function |