summaryrefslogtreecommitdiffstats
path: root/Misc/python-mode.el
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2003-07-31 04:59:48 (GMT)
committerSkip Montanaro <skip@pobox.com>2003-07-31 04:59:48 (GMT)
commit4563769be9f8a02e201f75a2a2f9fe2e93ea4b89 (patch)
tree1be573f1d68150743c7964840471abec07e3e695 /Misc/python-mode.el
parent67e5582dfc6cd365d924a0033b2ac7363e8b304d (diff)
downloadcpython-4563769be9f8a02e201f75a2a2f9fe2e93ea4b89.zip
cpython-4563769be9f8a02e201f75a2a2f9fe2e93ea4b89.tar.gz
cpython-4563769be9f8a02e201f75a2a2f9fe2e93ea4b89.tar.bz2
tweak to py-fill-paragraph - problem noted by John Lee and correction
submitted by Bernard Herzog. Closes patch 779830.
Diffstat (limited to 'Misc/python-mode.el')
-rw-r--r--Misc/python-mode.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el
index ba4f88a..7a4b7d8 100644
--- a/Misc/python-mode.el
+++ b/Misc/python-mode.el
@@ -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)))))