From: Stefan Monnier Date: Sun, 2 Dec 2001 03:55:16 +0000 (+0000) Subject: (tab-to-tab-stop): Use delete-horizontal-space. X-Git-Tag: ttn-vms-21-2-B4~17958 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=19b7046099a12b33686582e389c617b1b12e2c5f;p=emacs.git (tab-to-tab-stop): Use delete-horizontal-space. --- diff --git a/lisp/indent.el b/lisp/indent.el index 5ecd1e5b860..81bc00af63d 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 ?\ ))))