(tab-to-tab-stop): Combine new indentation with previous.

This commit is contained in:
Richard M. Stallman
1994-06-20 01:52:51 +00:00
parent 97823303c4
commit 9d840bec3e

View File

@@ -238,7 +238,10 @@ Use \\[edit-tab-stops] to edit them interactively."
(while (and tabs (>= (current-column) (car tabs)))
(setq tabs (cdr tabs)))
(if tabs
(indent-to (car tabs))
(let ((opoint (point)))
(skip-chars-backward " \t")
(delete-region (point) opoint)
(indent-to (car tabs)))
(insert ?\ ))))
(defun move-to-tab-stop ()