bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23046: 25.0.92; Docstring of `sh-indent-after-continuation' lacks ba


From: npostavs
Subject: bug#23046: 25.0.92; Docstring of `sh-indent-after-continuation' lacks backslash escapes
Date: Sat, 02 Jul 2016 20:00:03 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux)

tags 23046 fixed
close 23046 25.1
quit

Philipp Stephani <p.stephani2@gmail.com> writes:

> M-x load-library RET sh-script RET
> C-h v sh-indent-after-continuation
>
> prints
>
> ...
> If non-nil, indent relative to the continued line’s beginning.
> Continued lines can either be indented as "one long wrapped line" without
> paying attention to the actual syntactic structure, as in:
>
>    for f        in a; do        toto;        done
>
> or as lines that just don’t have implicit semi-colons between them, as in:
>
>    for f    in a; do        toto;    done
>
> With ‘always’ you get the former behavior whereas with nil you get the latter.
> With t, you get the latter as long as that would indent the continuation line
> deeper than the initial line.
> ...
>
> I think the code examples were meant to be on multiple lines.  For that
> the backslashes in the docstring need to be escaped.

Yep, looks like a copy-pasto, fixed in 113d1e2.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]