Mercurial > emacs
changeset 72110:d64250333611
(Clickable Text): Clarify.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 24 Jul 2006 23:06:04 +0000 |
parents | f6cd6558bd8e |
children | f192d93b9772 |
files | lispref/text.texi |
diffstat | 1 files changed, 6 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/text.texi Mon Jul 24 18:02:15 2006 +0000 +++ b/lispref/text.texi Mon Jul 24 23:06:04 2006 +0000 @@ -3479,13 +3479,12 @@ @subsection Defining Clickable Text @cindex clickable text - There are two ways to set up @dfn{clickable text} in a buffer. -There are typically two parts of this: to make the text highlight -when the mouse is over it, and to make a mouse button do something -when you click it on that part of the text. - - Highlighting is done with the @code{mouse-face} text property. -Here is an example of how Dired does it: + There are two parts of setting up @dfn{clickable text} in a buffer: +(1) to make that text highlight when the mouse moves over it, and (2) +to make a mouse button do something when you click on that text. + + For highlighting, use the @code{mouse-face} text property. Here is +an example of how Dired does it: @smallexample (condition-case nil