From: Richard M. Stallman Date: Mon, 24 Jul 2006 23:06:09 +0000 (+0000) Subject: (Clickable Text): Clarify. X-Git-Tag: emacs-pretest-22.0.90~1254 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5ac64732eaf4d09876e50bd4a2384d9f856df027;p=emacs.git (Clickable Text): Clarify. --- diff --git a/lispref/ChangeLog b/lispref/ChangeLog index 8b45675a805..07fa9a522f1 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -1,5 +1,7 @@ 2006-07-24 Richard Stallman + * text.texi (Clickable Text): Clarify. + * sequences.texi (Vector Functions): Delete duplicate xref. * 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. @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. + 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. - Highlighting is done with the @code{mouse-face} text property. -Here is an example of how Dired does it: + For highlighting, use the @code{mouse-face} text property. Here is +an example of how Dired does it: @smallexample (condition-case nil