summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-12-05 17:43:06 +0200
committerEli Zaretskii <eliz@gnu.org>2019-12-05 17:43:06 +0200
commit21790e547374ac7f8355440303fa79d74d8484df (patch)
treeacb14e7112f837492fcb2a15a209322b60297386 /etc
parent85f8aa1089e6fdbdf27b6f2c775e377faa79b19b (diff)
downloademacs-21790e547374ac7f8355440303fa79d74d8484df.tar.gz
Minor copyedits of 'jit-lock-antiblink-grace's docs
* lisp/jit-lock.el (jit-lock-antiblink-grace): * etc/NEWS (value): Reword the NEWS entry and the doc string.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS18
1 files changed, 11 insertions, 7 deletions
diff --git a/etc/NEWS b/etc/NEWS
index d4f31aeb85d..28bcb720cde 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -632,13 +632,6 @@ If the region is active, the command joins all the lines in the
region. When there's no active region, the command works on the
current and the previous or the next line, as before.
----
-** New customizable variable 'jit-lock-antiblink-grace'.
-When typing strings, this helps avoid "blinking", an oscillation
-between string and non-string fontification. The variable holds a
-number of seconds (default is 2) before a potentially unwanted
-fontification starts. Set to nil to get back the old behavior.
-
* Changes in Specialized Modes and Packages in Emacs 27.1
@@ -654,6 +647,17 @@ font locking for a mode. It recomputes the font locking data and then
re-fontifies the buffer.
---
+** Font Lock is smarter about fontifying unterminated strings and comments.
+When you type a quote that starts a string, or a comment delimiter
+that starts a comment, font-lock will not immediately refontify the
+following characters in font-lock-string-face or
+font-lock-comment-face. Instead, it will delay the fontification
+beyond the current line to give you a chance to close the string or
+comment. This is controlled by the new customizable variable
+'jit-lock-antiblink-grace', which specifies the delay in seconds. The
+default is 2 seconds; set to nil to get back the old behavior.
+
+---
** The 'C' command in 'tar-mode' will now preserve the timestamp of
the extracted file if the new user option 'tar-copy-preserve-time' is
non-nil.