aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDmitry Gutov2017-12-21 00:34:07 +0200
committerDmitry Gutov2017-12-21 00:34:07 +0200
commitaca827b0d0b108e26628da04d01a4e8bac372bdd (patch)
tree9172f3166d283b44df178472830e86c6653028ba /etc
parentda0d7730b534ec5dee91c472246709d1c93df40c (diff)
parent87548f5e98b450f2186d3fb5018ec34f4426351b (diff)
downloademacs-aca827b0d0b108e26628da04d01a4e8bac372bdd.tar.gz
emacs-aca827b0d0b108e26628da04d01a4e8bac372bdd.zip
Merge branch 'widen-less' into emacs-26
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 784c608041b..d751adde9b5 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1119,11 +1119,11 @@ This allows better indentation support in modes that support multiple
1119programming languages in the same buffer, like literate programming 1119programming languages in the same buffer, like literate programming
1120environments or ANTLR programs with embedded Python code. 1120environments or ANTLR programs with embedded Python code.
1121 1121
1122A major mode can provide indentation context for a sub-mode through 1122A major mode can provide indentation context for a sub-mode. To
1123the 'prog-indentation-context' variable. To support this, modes that 1123support this, modes should use 'prog-first-column' instead of a
1124provide indentation should use 'prog-widen' instead of 'widen' and 1124literal zero and avoid calling 'widen' in their indentation functions.
1125'prog-first-column' instead of a literal zero. See the node 1125See the node "(elisp) Mode-Specific Indent" in the ELisp manual for
1126"(elisp) Mode-Specific Indent" in the ELisp manual for more details. 1126more details.
1127 1127
1128** ERC 1128** ERC
1129 1129