1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-12 16:23:57 +00:00

(tab-to-tab-stop): Use delete-horizontal-space.

This commit is contained in:
Stefan Monnier 2001-12-02 03:55:16 +00:00
parent f618213e75
commit 19b7046099

View File

@ -493,8 +493,7 @@ Use \\[edit-tab-stops] to edit them interactively."
(setq tabs (cdr tabs)))
(if tabs
(let ((opoint (point)))
(skip-chars-backward " \t")
(delete-region (point) opoint)
(delete-horizontal-space t)
(indent-to (car tabs)))
(insert ?\ ))))