; 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.
This commit is contained in:
parent
624e382211
commit
8b8b791567
2 changed files with 4 additions and 1 deletions
|
@ -784,7 +784,8 @@ If PREV is non-nil, return the previous one instead."
|
|||
(defun tab-to-tab-stop ()
|
||||
"Insert spaces or tabs to next defined tab-stop column.
|
||||
The variable `tab-stop-list' is a list of columns at which there are tab stops.
|
||||
Use \\[edit-tab-stops] to edit them interactively."
|
||||
Use \\[edit-tab-stops] to edit them interactively.
|
||||
Whether this inserts tabs or spaces depends on `indent-tabs-mode'."
|
||||
(interactive)
|
||||
(and abbrev-mode (= (char-syntax (preceding-char)) ?w)
|
||||
(expand-abbrev))
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue