1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00

(Links and Mouse-1): Fix xref for commands.texi change.

This commit is contained in:
Richard M. Stallman 2008-01-04 05:43:39 +00:00
parent f1c15283d1
commit db3625badd

View File

@ -2989,31 +2989,28 @@ time you want to specify a particular attribute for certain text.
@xref{Face Attributes}. @xref{Face Attributes}.
@item @item
A cons cell with the form @code{(foreground-color . @var{color-name})} or A cons cell with the form @code{(foreground-color . @var{color-name})}
@code{(background-color . @var{color-name})}. These elements specify or @code{(background-color . @var{color-name})}. These are older,
just the foreground color or just the background color. @xref{Color deprecated equivalents for @code{(:foreground @var{color-name})} and
Names}, for the supported forms of @var{color-name}. @code{(:background @var{color-name})}. Please convert code that uses
them.
A cons cell of @code{(foreground-color . @var{color-name})} is equivalent to
specifying @code{(:foreground @var{color-name})}; likewise for the
background.
@end itemize @end itemize
You can use Font Lock Mode (@pxref{Font Lock Mode}), to dynamically It works to use the latter two forms directly as the value
update @code{face} properties based on the contents of the text. of the @code{face} property.
Font Lock mode (@pxref{Font Lock Mode}) works in most buffers by
dynamically updating the @code{face} property of characters based on
the context.
@item font-lock-face @item font-lock-face
@kindex font-lock-face @r{(text property)} @kindex font-lock-face @r{(text property)}
The @code{font-lock-face} property is the same in all respects as the The @code{font-lock-face} property is equivalent to the @code{face}
@code{face} property, but its state of activation is controlled by property when Font Lock mode is enabled. When Font Lock mode is disabled,
@code{font-lock-mode}. This can be advantageous for special buffers @code{font-lock-face} has no effect.
which are not intended to be user-editable, or for static areas of
text which are always fontified in the same way.
@xref{Precalculated Fontification}.
Strictly speaking, @code{font-lock-face} is not a built-in text The @code{font-lock-mode} property is useful for special modes that
property; rather, it is implemented in Font Lock mode using implement their own highlighting. @xref{Precalculated Fontification}.
@code{char-property-alias-alist}. @xref{Examining Properties}.
This property is new in Emacs 22.1. This property is new in Emacs 22.1.
@ -3717,7 +3714,7 @@ a @key{Mouse-1} click shall be translated to @key{RET}:
@defun mouse-on-link-p pos @defun mouse-on-link-p pos
This function returns non-@code{nil} if position @var{pos} in the This function returns non-@code{nil} if position @var{pos} in the
current buffer is on a link. @var{pos} can also be a mouse event current buffer is on a link. @var{pos} can also be a mouse event
location, as returned by @code{event-start} (@pxref{Accessing Events}). location, as returned by @code{event-start} (@pxref{Accessing Mouse}).
@end defun @end defun
@node Fields @node Fields