aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2014-04-16 12:43:46 -0700
committerPaul Eggert2014-04-16 12:43:46 -0700
commit290d7ac277986bd118e594a8100b3f40e4492cb1 (patch)
treed63a3aa61cac577dd119665edaffe2def8d194e2 /doc
parent37eccff4f72c5a36dcd4b89d417b0047aab84e50 (diff)
parentb262bde327db2cd9b2f01f2d3ed946d0b188cb9d (diff)
downloademacs-290d7ac277986bd118e594a8100b3f40e4492cb1.tar.gz
emacs-290d7ac277986bd118e594a8100b3f40e4492cb1.zip
Merge from emacs-24; up to 2014-04-16T15:28:26Z!monnier@iro.umontreal.ca
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog5
-rw-r--r--doc/emacs/display.texi33
-rw-r--r--doc/lispref/display.texi23
3 files changed, 39 insertions, 22 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 89a26a6b38a..d4514904c77 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,8 @@
12014-04-16 Eli Zaretskii <eliz@gnu.org>
2
3 * display.texi (Cursor Display): Explain better how to customize
4 'blink-cursor-blinks'.
5
12014-04-07 Glenn Morris <rgm@gnu.org> 62014-04-07 Glenn Morris <rgm@gnu.org>
2 7
3 * trouble.texi (Checklist): Dribble files may contain passwords. 8 * trouble.texi (Checklist): Dribble files may contain passwords.
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi
index d53c80acafd..03de755aff3 100644
--- a/doc/emacs/display.texi
+++ b/doc/emacs/display.texi
@@ -1482,18 +1482,27 @@ pixels tall), or @code{nil} (no cursor at all).
1482@vindex blink-cursor-mode 1482@vindex blink-cursor-mode
1483@vindex blink-cursor-blinks 1483@vindex blink-cursor-blinks
1484@vindex blink-cursor-alist 1484@vindex blink-cursor-alist
1485 By default, the cursor stops blinking after 10 blinks. This can be 1485 By default, the cursor stops blinking after 10 blinks, if Emacs does
1486changed by customizing the variable @code{blink-cursor-blinks}. To 1486not get any input during that time; any input event restarts the
1487disable cursor blinking altogether, change the variable 1487count. You can customize the variable @code{blink-cursor-blinks} to
1488@code{blink-cursor-mode} to @code{nil} (@pxref{Easy Customization}), 1488control that: its value says how many times to blink without input
1489or add the line @code{(blink-cursor-mode 0)} to your init file. 1489before stopping. Setting that variable to a zero or negative value
1490Alternatively, you can change how the cursor looks when it ``blinks 1490will make the cursor blink forever. To disable cursor blinking
1491off'' by customizing the list variable @code{blink-cursor-alist}. 1491altogether, change the variable @code{blink-cursor-mode} to @code{nil}
1492Each element in the list should have the form @code{(@var{on-type} 1492(@pxref{Easy Customization}), or add the line
1493. @var{off-type})}; this means that if the cursor is displayed as 1493
1494@var{on-type} when it blinks on (where @var{on-type} is one of the 1494@lisp
1495cursor types described above), then it is displayed as @var{off-type} 1495 (blink-cursor-mode 0)
1496when it blinks off. 1496@end lisp
1497
1498@noindent
1499to your init file. Alternatively, you can change how the cursor
1500looks when it ``blinks off'' by customizing the list variable
1501@code{blink-cursor-alist}. Each element in the list should have the
1502form @code{(@var{on-type} . @var{off-type})}; this means that if the
1503cursor is displayed as @var{on-type} when it blinks on (where
1504@var{on-type} is one of the cursor types described above), then it is
1505displayed as @var{off-type} when it blinks off.
1497 1506
1498@vindex x-stretch-cursor 1507@vindex x-stretch-cursor
1499@cindex wide block cursor 1508@cindex wide block cursor
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 0246d1a44de..acbef6b9495 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -1475,8 +1475,10 @@ the buffer's undo list.
1475 1475
1476 Since more than one overlay can specify a property value for the 1476 Since more than one overlay can specify a property value for the
1477same character, Emacs lets you specify a priority value of each 1477same character, Emacs lets you specify a priority value of each
1478overlay. You should not make assumptions about which overlay will 1478overlay. In case two overlays have the same priority value, and one
1479prevail when there is a conflict and they have the same priority. 1479is nested in the other, then the inner one will have priority over the
1480outer one. If neither is nested in the other then you should not make
1481assumptions about which overlay will prevail.
1480 1482
1481 These functions read and set the properties of an overlay: 1483 These functions read and set the properties of an overlay:
1482 1484
@@ -1507,9 +1509,9 @@ of them:
1507@table @code 1509@table @code
1508@item priority 1510@item priority
1509@kindex priority @r{(overlay property)} 1511@kindex priority @r{(overlay property)}
1510This property's value (which should be a non-negative integer) 1512This property's value determines the priority of the overlay. No priority, or
1511determines the priority of the overlay. No priority, or @code{nil}, 1513@code{nil}, means zero. A non-nil and non-integer value has
1512means zero. 1514undefined behavior.
1513 1515
1514The priority matters when two or more overlays cover the same 1516The priority matters when two or more overlays cover the same
1515character and both specify the same property; the one whose 1517character and both specify the same property; the one whose
@@ -1706,11 +1708,12 @@ Properties}.
1706@node Finding Overlays 1708@node Finding Overlays
1707@subsection Searching for Overlays 1709@subsection Searching for Overlays
1708 1710
1709@defun overlays-at pos 1711@defun overlays-at pos &optional sorted
1710This function returns a list of all the overlays that cover the 1712This function returns a list of all the overlays that cover the character at
1711character at position @var{pos} in the current buffer. The list is in 1713position @var{pos} in the current buffer. If @var{sorted} is non-nil, the list
1712no particular order. An overlay contains position @var{pos} if it 1714is in decreasing order of priority, otherwise it is in no particular order.
1713begins at or before @var{pos}, and ends after @var{pos}. 1715An overlay contains position @var{pos} if it begins at or before @var{pos}, and
1716ends after @var{pos}.
1714 1717
1715To illustrate usage, here is a Lisp function that returns a list of the 1718To illustrate usage, here is a Lisp function that returns a list of the
1716overlays that specify property @var{prop} for the character at point: 1719overlays that specify property @var{prop} for the character at point: