diff options
| author | Miles Bader | 2004-07-06 02:57:15 +0000 |
|---|---|---|
| committer | Miles Bader | 2004-07-06 02:57:15 +0000 |
| commit | 094194de121c8b93c7b183182cb0853ec54fe1aa (patch) | |
| tree | 1f547e97064f160344acc2e97efbd727636b7255 /lisp/progmodes/python.el | |
| parent | f3265da9821318b9b06c641a8a8d4a3380d4039b (diff) | |
| parent | 8e975df9c8dee54225ebc71ccf7a7746e05fae2d (diff) | |
| download | emacs-094194de121c8b93c7b183182cb0853ec54fe1aa.tar.gz emacs-094194de121c8b93c7b183182cb0853ec54fe1aa.zip | |
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-22
Merge from emacs--cvs-trunk--0
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-431
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-441
Update from CVS
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 274480a36de..9be2c7599b8 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -710,16 +710,17 @@ Accounts for continuation lines, multi-line strings, and multi-line bracketed | |||
| 710 | expressions." | 710 | expressions." |
| 711 | (beginning-of-line) | 711 | (beginning-of-line) |
| 712 | (python-beginning-of-string) | 712 | (python-beginning-of-string) |
| 713 | (while (python-continuation-line-p) | 713 | (catch 'foo |
| 714 | (beginning-of-line) | 714 | (while (python-continuation-line-p) |
| 715 | (if (python-backslash-continuation-line-p) | 715 | (beginning-of-line) |
| 716 | (while (python-backslash-continuation-line-p) | 716 | (if (python-backslash-continuation-line-p) |
| 717 | (forward-line -1)) | 717 | (while (python-backslash-continuation-line-p) |
| 718 | (python-beginning-of-string) | 718 | (forward-line -1)) |
| 719 | ;; Skip forward out of nested brackets. | 719 | (python-beginning-of-string) |
| 720 | (condition-case () ; beware invalid syntax | 720 | ;; Skip forward out of nested brackets. |
| 721 | (progn (backward-up-list (syntax-ppss-depth (syntax-ppss))) t) | 721 | (condition-case () ; beware invalid syntax |
| 722 | (error (end-of-line))))) | 722 | (progn (backward-up-list (syntax-ppss-depth (syntax-ppss))) t) |
| 723 | (error (throw 'foo nil)))))) | ||
| 723 | (back-to-indentation)) | 724 | (back-to-indentation)) |
| 724 | 725 | ||
| 725 | (defun python-end-of-statement () | 726 | (defun python-end-of-statement () |