diff --git a/latex.el b/latex.el index 898eec8d..58bf6157 100644 --- a/latex.el +++ b/latex.el @@ -699,6 +699,9 @@ environment just inserted, the buffer position just before (newline) (beginning-of-line 0)) (t + (when (bolp) + (backward-char 1) + (set-marker (mark-marker) (point))) (delete-horizontal-space) (insert-before-markers "\n") (newline)