mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
Better indentation handling when inside parens.
This commit is contained in:
parent
86f1889aa9
commit
f9471190dc
1 changed files with 3 additions and 3 deletions
|
|
@ -670,9 +670,9 @@ START is the buffer position where the sexp starts."
|
|||
('inside-paren
|
||||
(or (save-excursion
|
||||
(forward-comment 1)
|
||||
(looking-at (regexp-opt '(")" "]" "}")))
|
||||
(forward-char 1)
|
||||
(when (not (python-info-ppss-context 'paren))
|
||||
(when (and (looking-at (regexp-opt '(")" "]" "}")))
|
||||
(not (forward-char 1))
|
||||
(not (python-info-ppss-context 'paren)))
|
||||
(goto-char context-start)
|
||||
(back-to-indentation)
|
||||
(current-column)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue