]> 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:57:32 +0000 (03:57 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 2 Dec 2001 03:57:32 +0000 (03:57 +0000)
lisp/ChangeLog
lisp/indent.el

index 31e791a679a706b014953c1ad8a1d75357f9f976..fc847a1dc5ca37e05cf2be4184eb8ccc048b8cc0 100644 (file)
@@ -1,3 +1,7 @@
+2001-12-01  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * indent.el (tab-to-tab-stop): Use delete-horizontal-space.
+
 2001-12-01  Eli Zaretskii  <eliz@is.elta.co.il>
 
        * progmodes/idlwave.el, progmodes/idlw-rinfo.el:
index d097a02c83392237836c9bb72db03be947c9cdea..95be962983753eba32b7faa9de26956bf7c0294f 100644 (file)
@@ -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 ?\ ))))