From: Fabián Ezequiel Gallina Date: Mon, 6 Apr 2015 04:22:19 +0000 (-0300) Subject: Fix previous commit to prevent infloop X-Git-Tag: emacs-25.0.90~2556 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf7b034ee12f44887ac363cd0c5d3387747b2a65;p=emacs.git Fix previous commit to prevent infloop --- diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index f402ad83cca..50b9d1b0eee 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -4492,6 +4492,7 @@ point's current `syntax-ppss'." (python-nav-backward-sexp) (setq backward-sexp-point (point)) (and (= indentation (current-indentation)) + (not (bobp)) ; Prevent infloop. (looking-at-p (concat "[uU]?[rR]?" (python-rx string-delimiter)))))