[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 7ae7005: ; * src/composite.h (LGSTRING_FONT): Add comment about
From: |
Eli Zaretskii |
Subject: |
emacs-28 7ae7005: ; * src/composite.h (LGSTRING_FONT): Add comment about its role. |
Date: |
Thu, 7 Oct 2021 12:28:24 -0400 (EDT) |
branch: emacs-28
commit 7ae70054aa208da5d281ad8f6887d818d98f02d6
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * src/composite.h (LGSTRING_FONT): Add comment about its role.
---
src/composite.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/composite.h b/src/composite.h
index 67e8720..945f261 100644
--- a/src/composite.h
+++ b/src/composite.h
@@ -254,6 +254,10 @@ composition_valid_p (ptrdiff_t start, ptrdiff_t end,
Lisp_Object prop)
#define LGSTRING_HEADER(lgs) AREF (lgs, 0)
#define LGSTRING_SET_HEADER(lgs, header) ASET (lgs, 0, header)
+/* LGSTRING_FONT retrieves the font used for LGSTRING, if we are going
+ to display it on a GUI frame. On text-mode frames, that slot
+ stores the coding-system that should be used to write output to the
+ frame's terminal. */
#define LGSTRING_FONT(lgs) AREF (LGSTRING_HEADER (lgs), 0)
#define LGSTRING_CHAR(lgs, i) AREF (LGSTRING_HEADER (lgs), (i) + 1)
#define LGSTRING_CHAR_LEN(lgs) (ASIZE (LGSTRING_HEADER (lgs)) - 1)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 7ae7005: ; * src/composite.h (LGSTRING_FONT): Add comment about its role.,
Eli Zaretskii <=