diff options
| author | Karoly Lorentey | 2004-06-14 20:00:54 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-06-14 20:00:54 +0000 |
| commit | 987a34896f0f07c76a87314ee444467903632aeb (patch) | |
| tree | 5e982f524d8a38b1156fd5c7c93517170a4e6764 /lisp/progmodes/python.el | |
| parent | 71a96040ef5a4a8a308a109c45bbabb20769beac (diff) | |
| parent | 4060d762b6bd7a2e7e6d0c57154beac00496c9d6 (diff) | |
| download | emacs-987a34896f0f07c76a87314ee444467903632aeb.tar.gz emacs-987a34896f0f07c76a87314ee444467903632aeb.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-398
Tweak permissions
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-399
Tweak directory permissions
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-400
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-401
More build-in-place tweaking of arch tagging
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-402
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-403
Yet more build-in-place tweaking of arch tagging
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-404
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-405
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-406
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-407
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-199
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index cee59a6e3e1..274480a36de 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -323,7 +323,8 @@ BOS non-nil means point is known to be at beginning of statement." | |||
| 323 | line-end)) | 323 | line-end)) |
| 324 | (save-excursion (python-end-of-statement)) | 324 | (save-excursion (python-end-of-statement)) |
| 325 | t) | 325 | t) |
| 326 | (not (python-in-string/comment))))) | 326 | (not (progn (goto-char (match-beginning 0)) |
| 327 | (python-in-string/comment)))))) | ||
| 327 | 328 | ||
| 328 | (defun python-close-block-statement-p (&optional bos) | 329 | (defun python-close-block-statement-p (&optional bos) |
| 329 | "Return non-nil if current line is a statement closing a block. | 330 | "Return non-nil if current line is a statement closing a block. |