aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2005-07-13 04:55:42 +0000
committerStefan Monnier2005-07-13 04:55:42 +0000
commit090475f391ceb175048e0610bcfabffd8d5a0241 (patch)
treef7c51aea13e58c37040df5a11e8eaf5c2b3f37c8 /etc
parent8a08764f7a72eb062a85733b045fb50291d6aee9 (diff)
downloademacs-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 4b80ab3f93d..03b494adc04 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2181,6 +2181,9 @@ line is left untouched.
2181The function `c-toggle-syntactic-indentation' can be used to toggle 2181The function `c-toggle-syntactic-indentation' can be used to toggle
2182syntactic indentation. 2182syntactic indentation.
2183 2183
2184** In sh-script, a continuation line is only indented if the backslash was
2185preceded 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