1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-30 01:02:06 -07:00

(Clickable Text): Clarify.

This commit is contained in:
Richard M. Stallman 2006-07-24 23:06:09 +00:00
parent 1cff9220f4
commit 5ac64732ea
2 changed files with 7 additions and 6 deletions

View file

@ -1,5 +1,7 @@
2006-07-24 Richard Stallman <rms@gnu.org>
* text.texi (Clickable Text): Clarify.
* sequences.texi (Vector Functions): Delete duplicate xref.
* objects.texi (Function Type): Clarify.

View file

@ -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