From 5ac64732eaf4d09876e50bd4a2384d9f856df027 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 24 Jul 2006 23:06:09 +0000 Subject: [PATCH] (Clickable Text): Clarify. --- lispref/ChangeLog | 2 ++ 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 @@ 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 -- 2.39.2