X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fsyntax.h;h=4b2709b9463471abd8b3e94aa83b74469683a364;hb=86055d56f206c256f3a303fdd74ede157d9f5396;hp=aa78eabb8e60e6f77bebccfed78c74200d3b0864;hpb=3e447015251ce6dcde843cbed10d9033d5538622;p=chise%2Fxemacs-chise.git- diff --git a/src/syntax.h b/src/syntax.h index aa78eab..4b2709b 100644 --- a/src/syntax.h +++ b/src/syntax.h @@ -72,8 +72,8 @@ enum syntaxcode charset_syntax (struct buffer *buf, Lisp_Object charset, #define SYNTAX_CODE_UNSAFE(table, c) \ XINT (CHAR_TABLE_VALUE_UNSAFE (table, c)) -INLINE int SYNTAX_CODE (Lisp_Char_Table *table, Emchar c); -INLINE int +INLINE_HEADER int SYNTAX_CODE (Lisp_Char_Table *table, Emchar c); +INLINE_HEADER int SYNTAX_CODE (Lisp_Char_Table *table, Emchar c) { return SYNTAX_CODE_UNSAFE (table, c); @@ -85,8 +85,8 @@ SYNTAX_CODE (Lisp_Char_Table *table, Emchar c) #define SYNTAX_FROM_CODE(code) ((enum syntaxcode) ((code) & 0177)) #define SYNTAX(table, c) SYNTAX_FROM_CODE (SYNTAX_CODE (table, c)) -INLINE int WORD_SYNTAX_P (Lisp_Char_Table *table, Emchar c); -INLINE int +INLINE_HEADER int WORD_SYNTAX_P (Lisp_Char_Table *table, Emchar c); +INLINE_HEADER int WORD_SYNTAX_P (Lisp_Char_Table *table, Emchar c) { return SYNTAX (table, c) == Sword; @@ -254,6 +254,7 @@ Lisp_Object syntax_match (Lisp_Object table, Emchar ch); extern int no_quit_in_re_search; extern struct buffer *regex_emacs_buffer; +extern int regex_emacs_buffer_p; void update_syntax_table (Lisp_Char_Table *ct);