aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/buffer.c b/src/buffer.c
index b0368a842ca..b0c8c370931 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5812,21 +5812,21 @@ If the value of the variable is t, undo information is not recorded. */);
5812 doc: /* Non-nil means that Emacs should use caches to handle long lines more quickly. 5812 doc: /* Non-nil means that Emacs should use caches to handle long lines more quickly.
5813 5813
5814Normally, the line-motion functions work by scanning the buffer for 5814Normally, the line-motion functions work by scanning the buffer for
5815newlines. Columnar operations (like move-to-column and 5815newlines. Columnar operations (like `move-to-column' and
5816compute-motion) also work by scanning the buffer, summing character 5816`compute-motion') also work by scanning the buffer, summing character
5817widths as they go. This works well for ordinary text, but if the 5817widths as they go. This works well for ordinary text, but if the
5818buffer's lines are very long (say, more than 500 characters), these 5818buffer's lines are very long (say, more than 500 characters), these
5819motion functions will take longer to execute. Emacs may also take 5819motion functions will take longer to execute. Emacs may also take
5820longer to update the display. 5820longer to update the display.
5821 5821
5822If cache-long-line-scans is non-nil, these motion functions cache the 5822If `cache-long-line-scans' is non-nil, these motion functions cache the
5823results of their scans, and consult the cache to avoid rescanning 5823results of their scans, and consult the cache to avoid rescanning
5824regions of the buffer until the text is modified. The caches are most 5824regions of the buffer until the text is modified. The caches are most
5825beneficial when they prevent the most searching---that is, when the 5825beneficial when they prevent the most searching---that is, when the
5826buffer contains long lines and large regions of characters with the 5826buffer contains long lines and large regions of characters with the
5827same, fixed screen width. 5827same, fixed screen width.
5828 5828
5829When cache-long-line-scans is non-nil, processing short lines will 5829When `cache-long-line-scans' is non-nil, processing short lines will
5830become slightly slower (because of the overhead of consulting the 5830become slightly slower (because of the overhead of consulting the
5831cache), and the caches will use memory roughly proportional to the 5831cache), and the caches will use memory roughly proportional to the
5832number of newlines and characters whose screen width varies. 5832number of newlines and characters whose screen width varies.
@@ -5906,8 +5906,8 @@ Values are interpreted as follows:
5906 hollow display a hollow box cursor 5906 hollow display a hollow box cursor
5907 bar display a vertical bar cursor with default width 5907 bar display a vertical bar cursor with default width
5908 (bar . WIDTH) display a vertical bar cursor with width WIDTH 5908 (bar . WIDTH) display a vertical bar cursor with width WIDTH
5909 hbar display a horisontal bar cursor with default width 5909 hbar display a horizontal bar cursor with default width
5910 (hbar . WIDTH) display a horisontal bar cursor with width WIDTH 5910 (hbar . WIDTH) display a horizontal bar cursor with width WIDTH
5911 ANYTHING ELSE display a hollow box cursor. 5911 ANYTHING ELSE display a hollow box cursor.
5912 5912
5913When the buffer is displayed in a nonselected window, 5913When the buffer is displayed in a nonselected window,