emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 113d1e2: Fix escaping in sh-indent-after-continua


From: Noam Postavsky
Subject: [Emacs-diffs] emacs-25 113d1e2: Fix escaping in sh-indent-after-continuation docstr
Date: Sat, 2 Jul 2016 23:59:25 +0000 (UTC)

branch: emacs-25
commit 113d1e2beffd09c497d4af47752da27fbc025ead
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    Fix escaping in sh-indent-after-continuation docstr
    
    * lisp/progmodes/sh-script.el (sh-indent-after-continuation): Properly
    escape backslashes in docstring (Bug#23046).
---
 lisp/progmodes/sh-script.el |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 4f160e1..f089c81 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -2000,16 +2000,16 @@ Does not preserve point."
 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; \
+   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; \
+   for f \\
+   in a; do \\
+       toto; \\
    done
 
 With `always' you get the former behavior whereas with nil you get the latter.



reply via email to

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