projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deea36f
)
Fix previous commit to prevent infloop
author
Fabián Ezequiel Gallina
<fgallina@gnu.org>
Mon, 6 Apr 2015 04:22:19 +0000
(
01:22
-0300)
committer
Fabián Ezequiel Gallina
<fgallina@gnu.org>
Mon, 6 Apr 2015 04:22:19 +0000
(
01:22
-0300)
lisp/progmodes/python.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/python.el
b/lisp/progmodes/python.el
index f402ad83ccaeb83268a1e1311c505408c14ae98b..50b9d1b0eeee0a2beded72a9b61a08f18c871c66 100644
(file)
--- 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)))))