diff options
| author | Paul Eggert | 2014-04-16 12:43:46 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-04-16 12:43:46 -0700 |
| commit | 290d7ac277986bd118e594a8100b3f40e4492cb1 (patch) | |
| tree | d63a3aa61cac577dd119665edaffe2def8d194e2 /doc | |
| parent | 37eccff4f72c5a36dcd4b89d417b0047aab84e50 (diff) | |
| parent | b262bde327db2cd9b2f01f2d3ed946d0b188cb9d (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/display.texi | 33 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 23 |
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 @@ | |||
| 1 | 2014-04-16 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * display.texi (Cursor Display): Explain better how to customize | ||
| 4 | 'blink-cursor-blinks'. | ||
| 5 | |||
| 1 | 2014-04-07 Glenn Morris <rgm@gnu.org> | 6 | 2014-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 |
| 1486 | changed by customizing the variable @code{blink-cursor-blinks}. To | 1486 | not get any input during that time; any input event restarts the |
| 1487 | disable cursor blinking altogether, change the variable | 1487 | count. You can customize the variable @code{blink-cursor-blinks} to |
| 1488 | @code{blink-cursor-mode} to @code{nil} (@pxref{Easy Customization}), | 1488 | control that: its value says how many times to blink without input |
| 1489 | or add the line @code{(blink-cursor-mode 0)} to your init file. | 1489 | before stopping. Setting that variable to a zero or negative value |
| 1490 | Alternatively, you can change how the cursor looks when it ``blinks | 1490 | will make the cursor blink forever. To disable cursor blinking |
| 1491 | off'' by customizing the list variable @code{blink-cursor-alist}. | 1491 | altogether, change the variable @code{blink-cursor-mode} to @code{nil} |
| 1492 | Each 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 |
| 1495 | cursor types described above), then it is displayed as @var{off-type} | 1495 | (blink-cursor-mode 0) |
| 1496 | when it blinks off. | 1496 | @end lisp |
| 1497 | |||
| 1498 | @noindent | ||
| 1499 | to your init file. Alternatively, you can change how the cursor | ||
| 1500 | looks when it ``blinks off'' by customizing the list variable | ||
| 1501 | @code{blink-cursor-alist}. Each element in the list should have the | ||
| 1502 | form @code{(@var{on-type} . @var{off-type})}; this means that if the | ||
| 1503 | cursor 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 | ||
| 1505 | displayed 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 |
| 1477 | same character, Emacs lets you specify a priority value of each | 1477 | same character, Emacs lets you specify a priority value of each |
| 1478 | overlay. You should not make assumptions about which overlay will | 1478 | overlay. In case two overlays have the same priority value, and one |
| 1479 | prevail when there is a conflict and they have the same priority. | 1479 | is nested in the other, then the inner one will have priority over the |
| 1480 | outer one. If neither is nested in the other then you should not make | ||
| 1481 | assumptions 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)} |
| 1510 | This property's value (which should be a non-negative integer) | 1512 | This property's value determines the priority of the overlay. No priority, or |
| 1511 | determines the priority of the overlay. No priority, or @code{nil}, | 1513 | @code{nil}, means zero. A non-nil and non-integer value has |
| 1512 | means zero. | 1514 | undefined behavior. |
| 1513 | 1515 | ||
| 1514 | The priority matters when two or more overlays cover the same | 1516 | The priority matters when two or more overlays cover the same |
| 1515 | character and both specify the same property; the one whose | 1517 | character 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 |
| 1710 | This function returns a list of all the overlays that cover the | 1712 | This function returns a list of all the overlays that cover the character at |
| 1711 | character at position @var{pos} in the current buffer. The list is in | 1713 | position @var{pos} in the current buffer. If @var{sorted} is non-nil, the list |
| 1712 | no particular order. An overlay contains position @var{pos} if it | 1714 | is in decreasing order of priority, otherwise it is in no particular order. |
| 1713 | begins at or before @var{pos}, and ends after @var{pos}. | 1715 | An overlay contains position @var{pos} if it begins at or before @var{pos}, and |
| 1716 | ends after @var{pos}. | ||
| 1714 | 1717 | ||
| 1715 | To illustrate usage, here is a Lisp function that returns a list of the | 1718 | To illustrate usage, here is a Lisp function that returns a list of the |
| 1716 | overlays that specify property @var{prop} for the character at point: | 1719 | overlays that specify property @var{prop} for the character at point: |