diff options
| author | kobarity | 2023-03-12 17:05:54 +0900 |
|---|---|---|
| committer | Eli Zaretskii | 2023-03-16 16:59:06 +0200 |
| commit | 5cf1de683b2414927e521c34daeee460fb7649f5 (patch) | |
| tree | 8f3602006d4454ddb7be376fea41dfe15e5f3c94 /java | |
| parent | 7385c991dff3466b37cf50628e7685cd53e71921 (diff) | |
| download | emacs-5cf1de683b2414927e521c34daeee460fb7649f5.tar.gz emacs-5cf1de683b2414927e521c34daeee460fb7649f5.zip | |
Fix python-fill-paragraph problems on filling strings (bug#62142)
* lisp/progmodes/python.el (python-syntax--context-compiler-macro)
(python-syntax-context): Add single-quoted-string and
triple-quoted-string as TYPE argument.
(python-info-triple-quoted-string-p): New helper function.
(python-fill-paragraph)
(python-fill-string): Use it.
* test/lisp/progmodes/python-tests.el (python-syntax-context-1)
(python-fill-paragraph-single-quoted-string-1)
(python-fill-paragraph-single-quoted-string-2)
(python-fill-paragraph-triple-quoted-string-1)
(python-info-triple-quoted-string-p-1)
(python-info-triple-quoted-string-p-2)
(python-info-triple-quoted-string-p-3): New tests.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions