diff options
| author | Eli Zaretskii | 2019-12-05 17:43:06 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2019-12-05 17:43:06 +0200 |
| commit | 21790e547374ac7f8355440303fa79d74d8484df (patch) | |
| tree | acb14e7112f837492fcb2a15a209322b60297386 /etc | |
| parent | 85f8aa1089e6fdbdf27b6f2c775e377faa79b19b (diff) | |
| download | emacs-21790e547374ac7f8355440303fa79d74d8484df.tar.gz emacs-21790e547374ac7f8355440303fa79d74d8484df.zip | |
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/NEWS | 18 |
1 files changed, 11 insertions, 7 deletions
| @@ -632,13 +632,6 @@ If the region is active, the command joins all the lines in the | |||
| 632 | region. When there's no active region, the command works on the | 632 | region. When there's no active region, the command works on the |
| 633 | current and the previous or the next line, as before. | 633 | current and the previous or the next line, as before. |
| 634 | 634 | ||
| 635 | --- | ||
| 636 | ** New customizable variable 'jit-lock-antiblink-grace'. | ||
| 637 | When typing strings, this helps avoid "blinking", an oscillation | ||
| 638 | between string and non-string fontification. The variable holds a | ||
| 639 | number of seconds (default is 2) before a potentially unwanted | ||
| 640 | fontification starts. Set to nil to get back the old behavior. | ||
| 641 | |||
| 642 | 635 | ||
| 643 | * Changes in Specialized Modes and Packages in Emacs 27.1 | 636 | * Changes in Specialized Modes and Packages in Emacs 27.1 |
| 644 | 637 | ||
| @@ -654,6 +647,17 @@ font locking for a mode. It recomputes the font locking data and then | |||
| 654 | re-fontifies the buffer. | 647 | re-fontifies the buffer. |
| 655 | 648 | ||
| 656 | --- | 649 | --- |
| 650 | ** Font Lock is smarter about fontifying unterminated strings and comments. | ||
| 651 | When you type a quote that starts a string, or a comment delimiter | ||
| 652 | that starts a comment, font-lock will not immediately refontify the | ||
| 653 | following characters in font-lock-string-face or | ||
| 654 | font-lock-comment-face. Instead, it will delay the fontification | ||
| 655 | beyond the current line to give you a chance to close the string or | ||
| 656 | comment. This is controlled by the new customizable variable | ||
| 657 | 'jit-lock-antiblink-grace', which specifies the delay in seconds. The | ||
| 658 | default is 2 seconds; set to nil to get back the old behavior. | ||
| 659 | |||
| 660 | --- | ||
| 657 | ** The 'C' command in 'tar-mode' will now preserve the timestamp of | 661 | ** The 'C' command in 'tar-mode' will now preserve the timestamp of |
| 658 | the extracted file if the new user option 'tar-copy-preserve-time' is | 662 | the extracted file if the new user option 'tar-copy-preserve-time' is |
| 659 | non-nil. | 663 | non-nil. |