comparison man/lispref/annotations.texi @ 444:576fb035e263 r21-2-37

Import from CVS: tag r21-2-37
author cvs
date Mon, 13 Aug 2007 11:36:19 +0200
parents 3ecd8885ac67
children 9fae6227ede5
comparison
equal deleted inserted replaced
443:a8296e22da4e 444:576fb035e263
1 @c -*-texinfo-*- 1 @c -*-texinfo-*-
2 @c This is part of the XEmacs Lisp Reference Manual. 2 @c This is part of the XEmacs Lisp Reference Manual.
3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc. 3 @c Copyright (C) 1990, 1991, 1992, 1993 Free Software Foundation, Inc.
4 @c Copyright (C) 1995 Ben Wing. 4 @c Copyright (C) 1995 Ben Wing.
5 @c See the file lispref.texi for copying conditions. 5 @c See the file lispref.texi for copying conditions.
6 @setfilename ../../info/annotations.info 6 @setfilename ../../info/annotations.info
7 @node Annotations, Display, Glyphs, top 7 @node Annotations, Display, Glyphs, top
8 @chapter Annotations 8 @chapter Annotations
121 121
122 @node Annotation Primitives 122 @node Annotation Primitives
123 @section Annotation Primitives 123 @section Annotation Primitives
124 124
125 @defun make-annotation glyph &optional position layout buffer with-event d-glyph rightp 125 @defun make-annotation glyph &optional position layout buffer with-event d-glyph rightp
126 This function creates a marginal annotation at position @var{pos} in 126 This function creates a marginal annotation at position @var{position} in
127 @var{buffer}. The annotation is displayed using @var{glyph}, which 127 @var{buffer}. The annotation is displayed using @var{glyph}, which
128 should be a glyph object or a string, and is positioned using layout 128 should be a glyph object or a string, and is positioned using layout
129 policy @var{layout}. If @var{pos} is @code{nil}, point is used. If 129 policy @var{layout}. If @var{position} is @code{nil}, point is used. If
130 @var{layout} is @code{nil}, @code{whitespace} is used. If @var{buffer} 130 @var{layout} is @code{nil}, @code{whitespace} is used. If @var{buffer}
131 is @code{nil}, the current buffer is used. 131 is @code{nil}, the current buffer is used.
132 132
133 If @var{with-event} is non-@code{nil}, then when an annotation is 133 If @var{with-event} is non-@code{nil}, then when an annotation is
134 activated, the triggering event is passed as the second arg to the 134 activated, the triggering event is passed as the second arg to the
178 @end defun 178 @end defun
179 179
180 @defun annotation-face annotation 180 @defun annotation-face annotation
181 This function returns the face associated with @var{annotation}. 181 This function returns the face associated with @var{annotation}.
182 @end defun 182 @end defun
183 183
184 @defun set-annotation-face annotation face 184 @defun set-annotation-face annotation face
185 This function sets the face associated with @var{annotation} to 185 This function sets the face associated with @var{annotation} to
186 @var{face}. 186 @var{face}.
187 @end defun 187 @end defun
188 188