diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi index 2214a30c170..13a8ec46a8a 100644 --- a/doc/lispref/modes.texi +++ b/doc/lispref/modes.texi @@ -5026,7 +5026,7 @@ should return the @var{offset} to use to indent @var{arg} itself. @item @code{:elem}, in which case the function should return either the offset to use to indent function arguments (if @var{arg} is the symbol -@code{arg}) or the basic indentation step (if @var{arg} is the symbol +@code{args}) or the basic indentation step (if @var{arg} is the symbol @code{basic}). @item @code{:list-intro}, in which case @var{arg} is a token and the function diff --git a/lisp/emacs-lisp/smie.el b/lisp/emacs-lisp/smie.el index 91f3332a79b..33821b8be28 100644 --- a/lisp/emacs-lisp/smie.el +++ b/lisp/emacs-lisp/smie.el @@ -1153,7 +1153,7 @@ METHOD can be: - :before, in which case ARG is a token and the function should return the OFFSET to use to indent ARG itself. - :elem, in which case the function should return either: - - the offset to use to indent function arguments (ARG = `arg') + - the offset to use to indent function arguments (ARG = `args') - the basic indentation step (ARG = `basic'). - the token to use (when ARG = `empty-line-token') when we don't know how to indent an empty line.