aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabián Ezequiel Gallina2015-04-06 01:22:19 -0300
committerFabián Ezequiel Gallina2015-04-06 01:22:19 -0300
commitcf7b034ee12f44887ac363cd0c5d3387747b2a65 (patch)
treedf95e8161537f0ddfadbb4e25b27893742aebf9b
parentdeea36f0ece7b1b14afe2a833b6a0f66d59f4459 (diff)
downloademacs-cf7b034ee12f44887ac363cd0c5d3387747b2a65.tar.gz
emacs-cf7b034ee12f44887ac363cd0c5d3387747b2a65.zip
Fix previous commit to prevent infloop
-rw-r--r--lisp/progmodes/python.el1
1 files changed, 1 insertions, 0 deletions
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'."
4492 (python-nav-backward-sexp) 4492 (python-nav-backward-sexp)
4493 (setq backward-sexp-point (point)) 4493 (setq backward-sexp-point (point))
4494 (and (= indentation (current-indentation)) 4494 (and (= indentation (current-indentation))
4495 (not (bobp)) ; Prevent infloop.
4495 (looking-at-p 4496 (looking-at-p
4496 (concat "[uU]?[rR]?" 4497 (concat "[uU]?[rR]?"
4497 (python-rx string-delimiter))))) 4498 (python-rx string-delimiter)))))