mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-13 13:13:03 +00:00
yasnippet.el (yas--indent-region): Workaround for issue #1183
This commit is contained in:
parent
47b38b2133
commit
b8f3f11ee5
@ -4521,7 +4521,8 @@ The SNIPPET's markers are preserved."
|
|||||||
remarkers)))
|
remarkers)))
|
||||||
(unwind-protect
|
(unwind-protect
|
||||||
(progn (back-to-indentation)
|
(progn (back-to-indentation)
|
||||||
(indent-according-to-mode))
|
(with-demoted-errors "%S"
|
||||||
|
(indent-according-to-mode)))
|
||||||
(save-restriction
|
(save-restriction
|
||||||
(narrow-to-region bol (line-end-position))
|
(narrow-to-region bol (line-end-position))
|
||||||
(dolist (remarker remarkers)
|
(dolist (remarker remarkers)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user