summaryrefslogtreecommitdiff
path: root/lisp/composite.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2008-06-29 14:44:12 +0000
committerKenichi Handa <handa@m17n.org>2008-06-29 14:44:12 +0000
commitc0cd125512587b9d0181496df163cec1ceaf34c9 (patch)
tree7f5591d9e3d176011f4b53d3a48391c3f75d99f0 /lisp/composite.el
parent7a6744749f8652ecba327a218bbc202cb6601948 (diff)
downloademacs-c0cd125512587b9d0181496df163cec1ceaf34c9.tar.gz
(compose-region): Mention the special handling of TAB.
Diffstat (limited to 'lisp/composite.el')
-rw-r--r--lisp/composite.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/composite.el b/lisp/composite.el
index ce920deaa02..429e83272b4 100644
--- a/lisp/composite.el
+++ b/lisp/composite.el
@@ -197,7 +197,12 @@ or a vector or list of integers and rules.
If it is a character, it is an alternate character to display instead
of the text in the region.
-If it is a string, the elements are alternate characters.
+If it is a string, the elements are alternate characters. In
+this case, TAB element has a special meaning. If the first
+characer is TAB, the glyphs are displayed with left padding space
+so that no pixel overlaps with the previous column. If the last
+character is TAB, the glyphs are displayed with rigth padding
+space so that no pixel overlaps with the following column.
If it is a vector or list, it is a sequence of alternate characters and
composition rules, where (2N)th elements are characters and (2N+1)th