Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f8994527
Commit
f8994527
authored
May 17, 2012
by
Fabián Ezequiel Gallina
Committed by
Fabián Ezequiel Gallina
May 17, 2012
Browse files
fixed last paren indentation logic
parent
65e4f764
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/progmodes/python.el
lisp/progmodes/python.el
+1
-1
No files found.
lisp/progmodes/python.el
View file @
f8994527
...
...
@@ -692,7 +692,7 @@ START is the buffer position where the sexp starts."
indentation
))
(
'inside-paren
(
or
(
save-excursion
(
forward-comment
9999
)
(
skip-syntax-forward
"\s"
(
line-end-position
)
)
(
when
(
and
(
looking-at
(
regexp-opt
'
(
")"
"]"
"}"
)))
(
not
(
forward-char
1
))
(
not
(
python-info-ppss-context
'paren
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment