diff options
| author | Noam Postavsky | 2016-07-02 19:47:32 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2016-07-02 19:59:10 -0400 |
| commit | 113d1e2beffd09c497d4af47752da27fbc025ead (patch) | |
| tree | b8ce2297e16556ca0043f49f8b228f906756d11a | |
| parent | 80e2044a7f19719720d330e2796c9dfe5471e100 (diff) | |
| download | emacs-113d1e2beffd09c497d4af47752da27fbc025ead.tar.gz emacs-113d1e2beffd09c497d4af47752da27fbc025ead.zip | |
Fix escaping in sh-indent-after-continuation docstr
* lisp/progmodes/sh-script.el (sh-indent-after-continuation): Properly
escape backslashes in docstring (Bug#23046).
| -rw-r--r-- | lisp/progmodes/sh-script.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 4f160e1ad6d..f089c81fe56 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -2000,16 +2000,16 @@ Does not preserve point." | |||
| 2000 | Continued lines can either be indented as \"one long wrapped line\" without | 2000 | Continued lines can either be indented as \"one long wrapped line\" without |
| 2001 | paying attention to the actual syntactic structure, as in: | 2001 | paying attention to the actual syntactic structure, as in: |
| 2002 | 2002 | ||
| 2003 | for f \ | 2003 | for f \\ |
| 2004 | in a; do \ | 2004 | in a; do \\ |
| 2005 | toto; \ | 2005 | toto; \\ |
| 2006 | done | 2006 | done |
| 2007 | 2007 | ||
| 2008 | or as lines that just don't have implicit semi-colons between them, as in: | 2008 | or as lines that just don't have implicit semi-colons between them, as in: |
| 2009 | 2009 | ||
| 2010 | for f \ | 2010 | for f \\ |
| 2011 | in a; do \ | 2011 | in a; do \\ |
| 2012 | toto; \ | 2012 | toto; \\ |
| 2013 | done | 2013 | done |
| 2014 | 2014 | ||
| 2015 | With `always' you get the former behavior whereas with nil you get the latter. | 2015 | With `always' you get the former behavior whereas with nil you get the latter. |