that were made by an immediately previous use of this command.
(while (and tabs (>= (current-column) (car tabs)))
(setq tabs (cdr tabs)))
(if tabs
- (move-to-column (car tabs) t))))
+ (progn
+ (if (eq last-command 'move-to-tab-stop)
+ (let ((opoint (point)))
+ (skip-chars-backward " \t")
+ (delete-region (point) opoint)))
+ (move-to-column (car tabs) t)))))
(define-key global-map "\t" 'indent-for-tab-command)
(define-key esc-map "\034" 'indent-region)