aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/composite.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/composite.el b/lisp/composite.el
index 72b0ffc8f48..f7e0c4a0912 100644
--- a/lisp/composite.el
+++ b/lisp/composite.el
@@ -337,8 +337,9 @@ When Automatic Composition mode is on, this function also finds a
337chunk of text that is automatically composed. If such a chunk is 337chunk of text that is automatically composed. If such a chunk is
338found closer to POS than the position that has `composition' 338found closer to POS than the position that has `composition'
339property, the value is a list of FROM, TO, and a glyph-string 339property, the value is a list of FROM, TO, and a glyph-string
340that specifies how the chunk is to be composed. See the function 340that specifies how the chunk is to be composed; DETAIL-P is
341`composition-get-gstring' for the format of the glyph-string." 341inored this case. See the function `composition-get-gstring'
342for the format of the glyph-string."
342 (let ((result (find-composition-internal pos limit string detail-p))) 343 (let ((result (find-composition-internal pos limit string detail-p)))
343 (if (and detail-p (> (length result) 3) (nth 2 result) (not (nth 3 result))) 344 (if (and detail-p (> (length result) 3) (nth 2 result) (not (nth 3 result)))
344 ;; This is a valid rule-base composition. 345 ;; This is a valid rule-base composition.