summaryrefslogtreecommitdiff
path: root/src/indent.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-12-27 20:23:16 +0200
committerEli Zaretskii <eliz@gnu.org>2022-12-27 20:23:16 +0200
commit8b8b79156798b4ffa791e9a9f0262a5ffdc867e8 (patch)
tree1921e4b5b84ae7a17936c1d5207a32a26ac165eb /src/indent.c
parent624e3822110a94ff6bee2ffaf43a04271b5d7305 (diff)
downloademacs-8b8b79156798b4ffa791e9a9f0262a5ffdc867e8.tar.gz
emacs-8b8b79156798b4ffa791e9a9f0262a5ffdc867e8.tar.bz2
emacs-8b8b79156798b4ffa791e9a9f0262a5ffdc867e8.zip
; Improve documentation of TAB/SPC indentation
* lisp/indent.el (tab-to-tab-stop): * src/indent.c (Findent_to): Mention 'indent-tabs-mode' in doc strings.
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/indent.c b/src/indent.c
index 4671ccccf90..66edaff67de 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -887,6 +887,8 @@ DEFUN ("indent-to", Findent_to, Sindent_to, 1, 2, "NIndent to column: ",
Optional second argument MINIMUM says always do at least MINIMUM spaces
even if that goes past COLUMN; by default, MINIMUM is zero.
+Whether this uses tabs or spaces depends on `indent-tabs-mode'.
+
The return value is the column where the insertion ends. */)
(Lisp_Object column, Lisp_Object minimum)
{