--- latex.el~ 2017-09-10 03:04:17.265116000 +0900 +++ latex.el 2017-09-10 03:04:51.798080000 +0900 @@ -1152,9 +1152,13 @@ (defun LaTeX-env-label (environment) "Insert ENVIRONMENT and prompt for label." (LaTeX-insert-environment environment) + (if (TeX-active-mark) + (exchange-point-and-mark)) (when (LaTeX-label environment 'environment) (LaTeX-newline) - (indent-according-to-mode))) + (indent-according-to-mode)) + (if (TeX-active-mark) + (exchange-point-and-mark))) (defun LaTeX-env-list (environment) "Insert ENVIRONMENT and the first item."