diff options
| author | Richard M. Stallman | 2006-07-24 23:06:09 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-07-24 23:06:09 +0000 |
| commit | 5ac64732eaf4d09876e50bd4a2384d9f856df027 (patch) | |
| tree | d86370c71dd1ecaa6eac8888c84846f3c6d10f23 | |
| parent | 1cff9220f430522c7536dbe9a4bf6b32fd6e1297 (diff) | |
| download | emacs-5ac64732eaf4d09876e50bd4a2384d9f856df027.tar.gz emacs-5ac64732eaf4d09876e50bd4a2384d9f856df027.zip | |
(Clickable Text): Clarify.
| -rw-r--r-- | lispref/ChangeLog | 2 | ||||
| -rw-r--r-- | lispref/text.texi | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 8b45675a805..07fa9a522f1 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2006-07-24 Richard Stallman <rms@gnu.org> | 1 | 2006-07-24 Richard Stallman <rms@gnu.org> |
| 2 | 2 | ||
| 3 | * text.texi (Clickable Text): Clarify. | ||
| 4 | |||
| 3 | * sequences.texi (Vector Functions): Delete duplicate xref. | 5 | * sequences.texi (Vector Functions): Delete duplicate xref. |
| 4 | 6 | ||
| 5 | * objects.texi (Function Type): Clarify. | 7 | * objects.texi (Function Type): Clarify. |
diff --git a/lispref/text.texi b/lispref/text.texi index fd521963fa0..898f33443b5 100644 --- a/lispref/text.texi +++ b/lispref/text.texi | |||
| @@ -3479,13 +3479,12 @@ being called over and over for the same text. | |||
| 3479 | @subsection Defining Clickable Text | 3479 | @subsection Defining Clickable Text |
| 3480 | @cindex clickable text | 3480 | @cindex clickable text |
| 3481 | 3481 | ||
| 3482 | There are two ways to set up @dfn{clickable text} in a buffer. | 3482 | There are two parts of setting up @dfn{clickable text} in a buffer: |
| 3483 | There are typically two parts of this: to make the text highlight | 3483 | (1) to make that text highlight when the mouse moves over it, and (2) |
| 3484 | when the mouse is over it, and to make a mouse button do something | 3484 | to make a mouse button do something when you click on that text. |
| 3485 | when you click it on that part of the text. | ||
| 3486 | 3485 | ||
| 3487 | Highlighting is done with the @code{mouse-face} text property. | 3486 | For highlighting, use the @code{mouse-face} text property. Here is |
| 3488 | Here is an example of how Dired does it: | 3487 | an example of how Dired does it: |
| 3489 | 3488 | ||
| 3490 | @smallexample | 3489 | @smallexample |
| 3491 | (condition-case nil | 3490 | (condition-case nil |