]> git.eshelyaron.com Git - emacs.git/commitdiff
(tab-to-tab-stop): Use delete-horizontal-space.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 2 Dec 2001 03:55:16 +0000 (03:55 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 2 Dec 2001 03:55:16 +0000 (03:55 +0000)
lisp/indent.el

index 5ecd1e5b860add623e63a01f677a55d97e65f4d9..81bc00af63dba3ef9a04ef593da8b5f37ca566a7 100644 (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 ?\ ))))