1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-29 19:48:19 +00:00
This commit is contained in:
Richard M. Stallman 1992-10-30 05:38:03 +00:00
parent e36ba27837
commit e47b25708b

View File

@ -25,7 +25,9 @@
;;;###autoload ;;;###autoload
(defun untabify (start end) (defun untabify (start end)
"Convert all tabs in region to multiple spaces, preserving columns. "Convert all tabs in region to multiple spaces, preserving columns.
The variable tab-width controls the action." Called non-interactively, the region is specified by arguments
START and END, rather than by the position of point and mark.
The variable `tab-width' controls the spacing of tab stops."
(interactive "r") (interactive "r")
(save-excursion (save-excursion
(save-restriction (save-restriction
@ -44,7 +46,9 @@ The variable tab-width controls the action."
"Convert multiple spaces in region to tabs when possible. "Convert multiple spaces in region to tabs when possible.
A group of spaces is partially replaced by tabs A group of spaces is partially replaced by tabs
when this can be done without changing the column they end at. when this can be done without changing the column they end at.
The variable tab-width controls the action." Called non-interactively, the region is specified by arguments
START and END, rather than by the position of point and mark.
The variable `tab-width' controls the spacing of tab stops."
(interactive "r") (interactive "r")
(save-excursion (save-excursion
(save-restriction (save-restriction