aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/indent.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2001-12-02 03:55:16 +0000
committerStefan Monnier <[email protected]>2001-12-02 03:55:16 +0000
commit19b7046099a12b33686582e389c617b1b12e2c5f (patch)
tree7b9bcefe54467ce76067ede70107bc70a5d3764c /lisp/indent.el
parentf618213e75a49663243932d3647138149e881dea (diff)
(tab-to-tab-stop): Use delete-horizontal-space.
Diffstat (limited to 'lisp/indent.el')
-rw-r--r--lisp/indent.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/indent.el b/lisp/indent.el
index 5ecd1e5b86..81bc00af63 100644
--- a/lisp/indent.el
+++ b/lisp/indent.el
@@ -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 ?\ ))))