diff options
| author | Fabián Ezequiel Gallina | 2015-04-06 01:22:19 -0300 |
|---|---|---|
| committer | Fabián Ezequiel Gallina | 2015-04-06 01:22:19 -0300 |
| commit | cf7b034ee12f44887ac363cd0c5d3387747b2a65 (patch) | |
| tree | df95e8161537f0ddfadbb4e25b27893742aebf9b | |
| parent | deea36f0ece7b1b14afe2a833b6a0f66d59f4459 (diff) | |
| download | emacs-cf7b034ee12f44887ac363cd0c5d3387747b2a65.tar.gz emacs-cf7b034ee12f44887ac363cd0c5d3387747b2a65.zip | |
Fix previous commit to prevent infloop
| -rw-r--r-- | 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 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))))) |