Commit 19b70460 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

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

parent f618213e
......@@ -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 ?\ ))))
......
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