diff options
Diffstat (limited to 'src/character.h')
| -rw-r--r-- | src/character.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/character.h b/src/character.h index b2cdcb76699..d1b781caa53 100644 --- a/src/character.h +++ b/src/character.h | |||
| @@ -26,9 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 26 | #include <verify.h> | 26 | #include <verify.h> |
| 27 | 27 | ||
| 28 | INLINE_HEADER_BEGIN | 28 | INLINE_HEADER_BEGIN |
| 29 | #ifndef CHARACTER_INLINE | ||
| 30 | # define CHARACTER_INLINE INLINE | ||
| 31 | #endif | ||
| 32 | 29 | ||
| 33 | /* character code 1st byte byte sequence | 30 | /* character code 1st byte byte sequence |
| 34 | -------------- -------- ------------- | 31 | -------------- -------- ------------- |
| @@ -558,7 +555,7 @@ INLINE_HEADER_BEGIN | |||
| 558 | 555 | ||
| 559 | #define SANE_TAB_WIDTH(buf) \ | 556 | #define SANE_TAB_WIDTH(buf) \ |
| 560 | sanitize_tab_width (XFASTINT (BVAR (buf, tab_width))) | 557 | sanitize_tab_width (XFASTINT (BVAR (buf, tab_width))) |
| 561 | CHARACTER_INLINE int | 558 | INLINE int |
| 562 | sanitize_tab_width (EMACS_INT width) | 559 | sanitize_tab_width (EMACS_INT width) |
| 563 | { | 560 | { |
| 564 | return 0 < width && width <= 1000 ? width : 8; | 561 | return 0 < width && width <= 1000 ? width : 8; |
| @@ -579,7 +576,7 @@ sanitize_tab_width (EMACS_INT width) | |||
| 579 | 576 | ||
| 580 | /* Return a non-outlandish value for a character width. */ | 577 | /* Return a non-outlandish value for a character width. */ |
| 581 | 578 | ||
| 582 | CHARACTER_INLINE int | 579 | INLINE int |
| 583 | sanitize_char_width (EMACS_INT width) | 580 | sanitize_char_width (EMACS_INT width) |
| 584 | { | 581 | { |
| 585 | return 0 <= width && width <= 1000 ? width : 1000; | 582 | return 0 <= width && width <= 1000 ? width : 1000; |
| @@ -680,7 +677,7 @@ extern Lisp_Object string_escape_byte8 (Lisp_Object); | |||
| 680 | 677 | ||
| 681 | /* Return a translation table of id number ID. */ | 678 | /* Return a translation table of id number ID. */ |
| 682 | #define GET_TRANSLATION_TABLE(id) \ | 679 | #define GET_TRANSLATION_TABLE(id) \ |
| 683 | (XCDR(XVECTOR(Vtranslation_table_vector)->contents[(id)])) | 680 | (XCDR (XVECTOR (Vtranslation_table_vector)->u.contents[(id)])) |
| 684 | 681 | ||
| 685 | INLINE_HEADER_END | 682 | INLINE_HEADER_END |
| 686 | 683 | ||