Commit ccc6b208 authored by Juri Linkov's avatar Juri Linkov
Browse files

* lisp/indent.el (indent-rigidly): Set deactivate-mark to nil

in transient indentation mode.

Fixes: debbugs:16438
parent 5c92e00d
2014-01-15 Juri Linkov <juri@jurta.org>
* indent.el (indent-rigidly): Set deactivate-mark to nil
in transient indentation mode. (Bug#16438)
2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
* emacs-lisp/package.el (package-desc-keywords): New function
......
......@@ -214,7 +214,10 @@ indentation by specifying a large negative ARG."
(indent-to (max 0 (+ indent (prefix-numeric-value arg))) 0))
(delete-region (point) (progn (skip-chars-forward " \t") (point))))
(forward-line 1))
(move-marker end nil))))
(move-marker end nil)
;; Keep the active region in transient mode.
(when (eq (cadr overriding-terminal-local-map) indent-rigidly-map)
(setq deactivate-mark nil)))))
(defun indent-rigidly--pop-undo ()
(and (memq last-command '(indent-rigidly-left indent-rigidly-right
......
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