mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-02 11:21:42 +00:00
(cua--indent-rectangle): Insert tabs using
tab-to-tab-stop to respect indent-tabs-mode.
This commit is contained in:
parent
6dd50fed29
commit
c872c51e2b
@ -1,3 +1,8 @@
|
||||
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))
|
||||
|
Loading…
Reference in New Issue
Block a user