mirror of https://github.com/python/cpython
tweak to py-fill-paragraph - problem noted by John Lee and correction
submitted by Bernard Herzog. Closes patch 779830.
This commit is contained in:
parent
67e5582dfc
commit
4563769be9
|
@ -3714,7 +3714,7 @@ If point is inside a string, narrow to that string and fill.
|
|||
(py-fill-comment justify))
|
||||
;; are we inside a string?
|
||||
((nth 3 pps)
|
||||
(py-fill-string (nth 2 pps)))
|
||||
(py-fill-string (nth 8 pps)))
|
||||
;; otherwise use the default
|
||||
(t
|
||||
(fill-paragraph justify)))))
|
||||
|
|
Loading…
Reference in New Issue