emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(info "(elisp)Other Display Specs")


From: Johan Bockgård
Subject: (info "(elisp)Other Display Specs")
Date: Wed, 21 Dec 2005 05:33:01 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

In (info "(elisp)Other Display Specs") the STRING display property is
listed twice:

    `STRING'
         Display STRING instead of the text that has this property.

    [...]

    `((margin nil) STRING)'
    `STRING'
         A display specification of this form means to display STRING
         instead of the text that has the display specification, at the same
         position as that text.  This is a special case of marginal display
         (*note Display Margins::).

         Recursive display specifications are not supported--string display
         specifications must not have `display' properties themselves.


Here's a patch that removes the first entry and moves the second one
to the top.  It also reverses the order of the lines "`((margin nil)
STRING)'" and "`STRING'" so that `STRING' is less easy to miss
(presumably that's why it was added a second time).



--- display.texi        21 Nov 2005 11:18:47 +0100      1.195
+++ display.texi        21 Dec 2005 05:05:05 +0100      
@@ -3275,7 +3275,14 @@
 
 @table @code
 @item @var{string}
-Display @var{string} instead of the text that has this property.
address@hidden ((margin nil) @var{string})
+A display specification of this form means to display @var{string}
+instead of the text that has the display specification, at the same
+position as that text.  This is a special case of marginal display
+(@pxref{Display Margins}).
+
+Recursive display specifications are not supported---string display
+specifications must not have @code{display} properties themselves.
 
 @item (image . @var{image-props})
 This kind of display specification is an image descriptor (@pxref{Images}).
@@ -3291,16 +3298,6 @@
 in the range 0.0--1.0 stands for that fraction of the width or height
 of the entire image.
 
address@hidden ((margin nil) @var{string})
address@hidden @var{string}
-A display specification of this form means to display @var{string}
-instead of the text that has the display specification, at the same
-position as that text.  This is a special case of marginal display
-(@pxref{Display Margins}).
-
-Recursive display specifications are not supported---string display
-specifications must not have @code{display} properties themselves.
-
 @item (space-width @var{factor})
 This display specification affects all the space characters within the
 text that has the specification.  It displays all of these spaces




reply via email to

[Prev in Thread] Current Thread [Next in Thread]