aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2015-09-23 16:20:10 +0300
committerEli Zaretskii2015-09-23 16:20:10 +0300
commitaab67529d229cd0d09ae3b9d7f8bb2f44e1d6276 (patch)
tree5a71d5944e5520cc886e3e7c0a69cfa109b129da /doc
parent0a133c70f1d2c068e8ad3ed5527f13ea7246fc68 (diff)
downloademacs-aab67529d229cd0d09ae3b9d7f8bb2f44e1d6276.tar.gz
emacs-aab67529d229cd0d09ae3b9d7f8bb2f44e1d6276.zip
Support ':relative-width' space display spec on text-mode terminals
* src/xdisp.c (produce_stretch_glyph): Support ':relative-width' space display spec on text-mode terminals, by calling PRODUCE_GLYPHS instead of x_produce_glyphs. Remove the HAVE_WINDOW_SYSTEM guards from the supporting code, as well as the test for a GUI frame.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/display.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 6a30adf9c90..452462adcfc 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -4387,8 +4387,9 @@ width. @var{width} can also be a @dfn{pixel width} specification
4387Specifies that the width of the stretch should be computed from the 4387Specifies that the width of the stretch should be computed from the
4388first character in the group of consecutive characters that have the 4388first character in the group of consecutive characters that have the
4389same @code{display} property. The space width is the pixel width of 4389same @code{display} property. The space width is the pixel width of
4390that character, multiplied by @var{factor}. This specification is 4390that character, multiplied by @var{factor}. (On text-mode terminals,
4391only supported on graphic terminals. 4391the ``pixel width'' of a character is usually 1, but it could be more
4392for TABs and double-width CJK characters.)
4392 4393
4393@item :align-to @var{hpos} 4394@item :align-to @var{hpos}
4394Specifies that the space should be wide enough to reach @var{hpos}. 4395Specifies that the space should be wide enough to reach @var{hpos}.