Fix previous commit to prevent infloop

This commit is contained in:
Fabián Ezequiel Gallina 2015-04-06 01:22:19 -03:00
parent deea36f0ec
commit cf7b034ee1

View file

@ -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)))))