Commit c872c51e authored by Kim F. Storm's avatar Kim F. Storm

(cua--indent-rectangle): Insert tabs using

tab-to-tab-stop to respect indent-tabs-mode.
parent 6dd50fed
2009-04-09 Kim F. Storm <storm@cua.dk>
* emulation/cua-rect.el (cua--indent-rectangle): Insert tabs using
tab-to-tab-stop to respect indent-tabs-mode.
2009-04-09 Richard M Stallman <rms@gnu.org>
* mail/rmailkwd.el (rmail-set-label): Warn if multipe labels spec'd.
......
......@@ -847,7 +847,7 @@ If command is repeated at same position, delete the rectangle."
(move-to-column col t))
(cond
(to-col (indent-to to-col))
(ch (insert ch))
((and ch (not (eq ch ?\t))) (insert ch))
(t (tab-to-tab-stop)))
(if (cua--rectangle-right-side t)
(cua--rectangle-insert-col (current-column))
......
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