]> granicus.if.org Git - python/commitdiff
tweak to py-fill-paragraph - problem noted by John Lee and correction
authorSkip Montanaro <skip@pobox.com>
Thu, 31 Jul 2003 04:59:48 +0000 (04:59 +0000)
committerSkip Montanaro <skip@pobox.com>
Thu, 31 Jul 2003 04:59:48 +0000 (04:59 +0000)
submitted by Bernard Herzog.  Closes patch 779830.

Misc/python-mode.el

index ba4f88a90b015d2d5b38ca4cd1267a2b77d13e80..7a4b7d8b0f6116f48ba63fbded2c1503ebb90653 100644 (file)
@@ -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)))))