[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master cf7b034: Fix previous commit to prevent infloop
From: |
Fabián Ezequiel Gallina |
Subject: |
[Emacs-diffs] master cf7b034: Fix previous commit to prevent infloop |
Date: |
Mon, 06 Apr 2015 04:22:25 +0000 |
branch: master
commit cf7b034ee12f44887ac363cd0c5d3387747b2a65
Author: Fabián Ezequiel Gallina <address@hidden>
Commit: Fabián Ezequiel Gallina <address@hidden>
Fix previous commit to prevent infloop
---
lisp/progmodes/python.el | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index f402ad8..50b9d1b 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)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master cf7b034: Fix previous commit to prevent infloop,
Fabián Ezequiel Gallina <=