From: Stefan Monnier Date: Sun, 2 Dec 2001 03:57:32 +0000 (+0000) Subject: (tab-to-tab-stop): Use delete-horizontal-space. X-Git-Tag: emacs-21.2~251 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=05ff13bafc1b1ba5e9b0c2587bcede71f38fcce0;p=emacs.git (tab-to-tab-stop): Use delete-horizontal-space. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 31e791a679a..fc847a1dc5c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2001-12-01 Stefan Monnier + + * indent.el (tab-to-tab-stop): Use delete-horizontal-space. + 2001-12-01 Eli Zaretskii * progmodes/idlwave.el, progmodes/idlw-rinfo.el: diff --git a/lisp/indent.el b/lisp/indent.el index d097a02c833..95be9629837 100644 --- a/lisp/indent.el +++ b/lisp/indent.el @@ -468,8 +468,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 ?\ ))))