diff options
Diffstat (limited to 'lisp/indent.el')
-rw-r--r-- | lisp/indent.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/indent.el b/lisp/indent.el index adecbfaeb12..c1da4a46b9c 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -431,7 +431,11 @@ column to indent to; if it is nil, use one of the three methods above." (or (eolp) (indent-to column 0)) (forward-line 1)) - (move-marker end nil)))) + (move-marker end nil))) + ;; In most cases, reindenting modifies the buffer, but it may also + ;; leave it unmodified, in which case we have to deactivate the mark + ;; by hand. + (deactivate-mark)) (defun indent-relative-maybe () "Indent a new line like previous nonblank line. |