From: Stefan Monnier Date: Fri, 17 Apr 2015 14:30:50 +0000 (-0400) Subject: * lisp/indent.el (indent-region): Don't deactivate the mark X-Git-Tag: emacs-25.0.90~2388 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=14eea098587a61b7c551453edcaf7ea8d2444f33;p=emacs.git * lisp/indent.el (indent-region): Don't deactivate the mark Fixes: debbugs:20357 --- diff --git a/lisp/indent.el b/lisp/indent.el index 74e73a69240..18c1fd48db7 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -537,7 +537,7 @@ column to indent to; if it is nil, use one of the three methods above." ;; 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)) + (setq deactivate-mark t)) (defun indent-relative-maybe () "Indent a new line like previous nonblank line.