diff options
| author | Stefan Monnier | 2005-07-13 04:55:42 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2005-07-13 04:55:42 +0000 |
| commit | 090475f391ceb175048e0610bcfabffd8d5a0241 (patch) | |
| tree | f7c51aea13e58c37040df5a11e8eaf5c2b3f37c8 /etc | |
| parent | 8a08764f7a72eb062a85733b045fb50291d6aee9 (diff) | |
| download | emacs-090475f391ceb175048e0610bcfabffd8d5a0241.tar.gz emacs-090475f391ceb175048e0610bcfabffd8d5a0241.zip | |
(sh-get-indent-info): Only indent a continuation line if SPC or TAB precedes \.
(sh-get-indent-info): Simplify.
(sh-mark-init, sh-learn-buffer-indent, sh-add-completer): with-current-buffer.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -2181,6 +2181,9 @@ line is left untouched. | |||
| 2181 | The function `c-toggle-syntactic-indentation' can be used to toggle | 2181 | The function `c-toggle-syntactic-indentation' can be used to toggle |
| 2182 | syntactic indentation. | 2182 | syntactic indentation. |
| 2183 | 2183 | ||
| 2184 | ** In sh-script, a continuation line is only indented if the backslash was | ||
| 2185 | preceded by a SPC or a TAB. | ||
| 2186 | |||
| 2184 | --- | 2187 | --- |
| 2185 | ** Perl mode has a new variable `perl-indent-continued-arguments'. | 2188 | ** Perl mode has a new variable `perl-indent-continued-arguments'. |
| 2186 | 2189 | ||