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 b8aefcdbcca..b3dd6149487 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -5828,21 +5828,21 @@ If the value of the variable is t, undo information is not recorded. */);
5828 doc: /* Non-nil means that Emacs should use caches to handle long lines more quickly. 5828 doc: /* Non-nil means that Emacs should use caches to handle long lines more quickly.
5829 5829
5830Normally, the line-motion functions work by scanning the buffer for 5830Normally, the line-motion functions work by scanning the buffer for
5831newlines. Columnar operations (like move-to-column and 5831newlines. Columnar operations (like `move-to-column' and
5832compute-motion) also work by scanning the buffer, summing character 5832`compute-motion') also work by scanning the buffer, summing character
5833widths as they go. This works well for ordinary text, but if the 5833widths as they go. This works well for ordinary text, but if the
5834buffer's lines are very long (say, more than 500 characters), these 5834buffer's lines are very long (say, more than 500 characters), these
5835motion functions will take longer to execute. Emacs may also take 5835motion functions will take longer to execute. Emacs may also take
5836longer to update the display. 5836longer to update the display.
5837 5837
5838If cache-long-line-scans is non-nil, these motion functions cache the 5838If `cache-long-line-scans' is non-nil, these motion functions cache the
5839results of their scans, and consult the cache to avoid rescanning 5839results of their scans, and consult the cache to avoid rescanning
5840regions of the buffer until the text is modified. The caches are most 5840regions of the buffer until the text is modified. The caches are most
5841beneficial when they prevent the most searching---that is, when the 5841beneficial when they prevent the most searching---that is, when the
5842buffer contains long lines and large regions of characters with the 5842buffer contains long lines and large regions of characters with the
5843same, fixed screen width. 5843same, fixed screen width.
5844 5844
5845When cache-long-line-scans is non-nil, processing short lines will 5845When `cache-long-line-scans' is non-nil, processing short lines will
5846become slightly slower (because of the overhead of consulting the 5846become slightly slower (because of the overhead of consulting the
5847cache), and the caches will use memory roughly proportional to the 5847cache), and the caches will use memory roughly proportional to the
5848number of newlines and characters whose screen width varies. 5848number of newlines and characters whose screen width varies.
@@ -5922,8 +5922,8 @@ Values are interpreted as follows:
5922 hollow display a hollow box cursor 5922 hollow display a hollow box cursor
5923 bar display a vertical bar cursor with default width 5923 bar display a vertical bar cursor with default width
5924 (bar . WIDTH) display a vertical bar cursor with width WIDTH 5924 (bar . WIDTH) display a vertical bar cursor with width WIDTH
5925 hbar display a horisontal bar cursor with default width 5925 hbar display a horizontal bar cursor with default width
5926 (hbar . WIDTH) display a horisontal bar cursor with width WIDTH 5926 (hbar . WIDTH) display a horizontal bar cursor with width WIDTH
5927 ANYTHING ELSE display a hollow box cursor. 5927 ANYTHING ELSE display a hollow box cursor.
5928 5928
5929When the buffer is displayed in a nonselected window, 5929When the buffer is displayed in a nonselected window,