diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 54411b9991c..b3925bbe4a3 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -475,7 +475,7 @@ i.e. the limit on how far back to scan." ;; interface. ;; ;; WARNING: Watch out for infinite recursion. - (let* ((lim (or lim (c-point 'bod))) + (let* ((lim (or lim (py-point 'bod))) (state (parse-partial-sexp lim (point)))) (cond ((nth 3 state) 'string)