diff options
| author | Paul Eggert | 2011-03-09 17:48:47 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-03-09 17:48:47 -0800 |
| commit | a9a06e0b10b7583e73ffebd7111937516264c4d5 (patch) | |
| tree | cd88456f4503445302b3313710daf04cd5c17451 /src | |
| parent | cc6e5db1ae708b81f02945f6c6dbe11e92fa1d46 (diff) | |
| download | emacs-a9a06e0b10b7583e73ffebd7111937516264c4d5.tar.gz emacs-a9a06e0b10b7583e73ffebd7111937516264c4d5.zip | |
* fontset.c (FONTSET_SPEC, FONTSET_REPERTORY, RFONT_DEF_REPERTORY): Remove; unused.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/fontset.c | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 7d4d5e00df1..094343b2d56 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -3,6 +3,7 @@ | |||
| 3 | * fontset.c (free_realized_fontset): Now static. | 3 | * fontset.c (free_realized_fontset): Now static. |
| 4 | (Fset_fontset_font): Rename local to avoid shadowing. | 4 | (Fset_fontset_font): Rename local to avoid shadowing. |
| 5 | (fontset_font): Mark local as initialized. | 5 | (fontset_font): Mark local as initialized. |
| 6 | (FONTSET_SPEC, FONTSET_REPERTORY, RFONT_DEF_REPERTORY): Remove; unused. | ||
| 6 | 7 | ||
| 7 | * xrdb.c: Include "xterm.h", to check x_load_resources's interface. | 8 | * xrdb.c: Include "xterm.h", to check x_load_resources's interface. |
| 8 | 9 | ||
diff --git a/src/fontset.c b/src/fontset.c index 3c156691b1b..b5d8a0db434 100644 --- a/src/fontset.c +++ b/src/fontset.c | |||
| @@ -233,14 +233,14 @@ fontset_id_valid_p (int id) | |||
| 233 | /* Macros to access special values of (base) FONTSET. */ | 233 | /* Macros to access special values of (base) FONTSET. */ |
| 234 | #define FONTSET_NAME(fontset) XCHAR_TABLE (fontset)->extras[1] | 234 | #define FONTSET_NAME(fontset) XCHAR_TABLE (fontset)->extras[1] |
| 235 | #define FONTSET_ASCII(fontset) XCHAR_TABLE (fontset)->extras[4] | 235 | #define FONTSET_ASCII(fontset) XCHAR_TABLE (fontset)->extras[4] |
| 236 | #define FONTSET_SPEC(fontset) XCHAR_TABLE (fontset)->extras[5] | 236 | /* #define FONTSET_SPEC(fontset) XCHAR_TABLE (fontset)->extras[5] */ |
| 237 | 237 | ||
| 238 | /* Macros to access special values of (realized) FONTSET. */ | 238 | /* Macros to access special values of (realized) FONTSET. */ |
| 239 | #define FONTSET_BASE(fontset) XCHAR_TABLE (fontset)->extras[2] | 239 | #define FONTSET_BASE(fontset) XCHAR_TABLE (fontset)->extras[2] |
| 240 | #define FONTSET_FRAME(fontset) XCHAR_TABLE (fontset)->extras[3] | 240 | #define FONTSET_FRAME(fontset) XCHAR_TABLE (fontset)->extras[3] |
| 241 | #define FONTSET_OBJLIST(fontset) XCHAR_TABLE (fontset)->extras[4] | 241 | #define FONTSET_OBJLIST(fontset) XCHAR_TABLE (fontset)->extras[4] |
| 242 | #define FONTSET_NOFONT_FACE(fontset) XCHAR_TABLE (fontset)->extras[5] | 242 | #define FONTSET_NOFONT_FACE(fontset) XCHAR_TABLE (fontset)->extras[5] |
| 243 | #define FONTSET_REPERTORY(fontset) XCHAR_TABLE (fontset)->extras[6] | 243 | /* #define FONTSET_REPERTORY(fontset) XCHAR_TABLE (fontset)->extras[6] */ |
| 244 | #define FONTSET_DEFAULT(fontset) XCHAR_TABLE (fontset)->extras[7] | 244 | #define FONTSET_DEFAULT(fontset) XCHAR_TABLE (fontset)->extras[7] |
| 245 | 245 | ||
| 246 | /* For both base and realized fontset. */ | 246 | /* For both base and realized fontset. */ |
| @@ -266,7 +266,6 @@ fontset_id_valid_p (int id) | |||
| 266 | ASET ((rfont_def), 0, make_number (face_id)) | 266 | ASET ((rfont_def), 0, make_number (face_id)) |
| 267 | #define RFONT_DEF_FONT_DEF(rfont_def) AREF (rfont_def, 1) | 267 | #define RFONT_DEF_FONT_DEF(rfont_def) AREF (rfont_def, 1) |
| 268 | #define RFONT_DEF_SPEC(rfont_def) FONT_DEF_SPEC (AREF (rfont_def, 1)) | 268 | #define RFONT_DEF_SPEC(rfont_def) FONT_DEF_SPEC (AREF (rfont_def, 1)) |
| 269 | #define RFONT_DEF_REPERTORY(rfont_def) FONT_DEF_REPERTORY (AREF (rfont_def, 1)) | ||
| 270 | #define RFONT_DEF_OBJECT(rfont_def) AREF (rfont_def, 2) | 269 | #define RFONT_DEF_OBJECT(rfont_def) AREF (rfont_def, 2) |
| 271 | #define RFONT_DEF_SET_OBJECT(rfont_def, object) \ | 270 | #define RFONT_DEF_SET_OBJECT(rfont_def, object) \ |
| 272 | ASET ((rfont_def), 2, (object)) | 271 | ASET ((rfont_def), 2, (object)) |