Commit 2a96c2a7 authored by Stefan Monnier's avatar Stefan Monnier

* indent.el (indent-region): Deactivate region (bug#6200).

parent d24e10b1
2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
* indent.el (indent-region): Deactivate region (bug#6200).
2010-05-19 Glenn Morris <rgm@gnu.org>
* vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment