diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7ec6750720b..c18e0a6a133 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> | ||
| 2 | |||
| 3 | * progmodes/python.el (python-indent-calculate-indentation): When | ||
| 4 | determining indentation, don't treat "return", "pass", etc., as | ||
| 5 | operators when they are just string constituents. (Bug#15812) | ||
| 6 | |||
| 1 | 2013-12-12 Juri Linkov <juri@jurta.org> | 7 | 2013-12-12 Juri Linkov <juri@jurta.org> |
| 2 | 8 | ||
| 3 | * uniquify.el (uniquify-buffer-name-style): Change default to | 9 | * uniquify.el (uniquify-buffer-name-style): Change default to |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 3e0708cd3c2..669da135644 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -774,7 +774,7 @@ START is the buffer position where the sexp starts." | |||
| 774 | (save-excursion | 774 | (save-excursion |
| 775 | (python-util-forward-comment -1) | 775 | (python-util-forward-comment -1) |
| 776 | (python-nav-beginning-of-statement) | 776 | (python-nav-beginning-of-statement) |
| 777 | (member (current-word) python-indent-block-enders))) | 777 | (looking-at (regexp-opt python-indent-block-enders)))) |
| 778 | python-indent-offset | 778 | python-indent-offset |
| 779 | 0))) | 779 | 0))) |
| 780 | ;; When inside of a string, do nothing. just use the current | 780 | ;; When inside of a string, do nothing. just use the current |