Mercurial > emacs
changeset 41758:581ab0e31090
(tab-to-tab-stop): Use delete-horizontal-space.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 02 Dec 2001 03:55:16 +0000 |
parents | 5da2e2339b57 |
children | 0614ac8ebec4 |
files | lisp/indent.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/indent.el Sun Dec 02 03:47:54 2001 +0000 +++ b/lisp/indent.el Sun Dec 02 03:55:16 2001 +0000 @@ -493,8 +493,7 @@ (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 ?\ ))))