Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5ac64732
Commit
5ac64732
authored
Jul 24, 2006
by
Richard M. Stallman
Browse files
(Clickable Text): Clarify.
parent
1cff9220
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
lispref/ChangeLog
lispref/ChangeLog
+2
-0
lispref/text.texi
lispref/text.texi
+5
-6
No files found.
lispref/ChangeLog
View file @
5ac64732
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
.
...
...
lispref/text.texi
View file @
5ac64732
...
...
@@ -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.
H
ighlighting
is done with
the @code{mouse-face} text property.
Here is
an example of how Dired does it:
For h
ighlighting
, use
the @code{mouse-face} text property.
Here is
an example of how Dired does it:
@smallexample
(condition-case nil
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment