Commit 4563769b authored by Skip Montanaro's avatar Skip Montanaro

tweak to py-fill-paragraph - problem noted by John Lee and correction

submitted by Bernard Herzog.  Closes patch 779830.
parent 67e5582d
...@@ -3714,7 +3714,7 @@ If point is inside a string, narrow to that string and fill. ...@@ -3714,7 +3714,7 @@ If point is inside a string, narrow to that string and fill.
(py-fill-comment justify)) (py-fill-comment justify))
;; are we inside a string? ;; are we inside a string?
((nth 3 pps) ((nth 3 pps)
(py-fill-string (nth 2 pps))) (py-fill-string (nth 8 pps)))
;; otherwise use the default ;; otherwise use the default
(t (t
(fill-paragraph justify))))) (fill-paragraph justify)))))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment