aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.h
diff options
context:
space:
mode:
authorStefan Monnier2008-02-13 15:10:57 +0000
committerStefan Monnier2008-02-13 15:10:57 +0000
commit02dfeba8a4ce93dadd7f5fa7f462fca12fdf28f8 (patch)
tree6f3af2c8cce69d443906f83ed834d82ec34b4a2f /src/coding.h
parent78dc87a23feb2a1a5d5dc0c2a5abc3a310493dcf (diff)
downloademacs-02dfeba8a4ce93dadd7f5fa7f462fca12fdf28f8.tar.gz
emacs-02dfeba8a4ce93dadd7f5fa7f462fca12fdf28f8.zip
(smerge-auto-combine-max-separation): New var.
(smerge-auto-combine): New fun.
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/src/coding.h b/src/coding.h
index 34196082afb..eba77273308 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -161,23 +161,23 @@ enum coding_attr_index
161 161
162/* Macros to access an element of an attribute vector. */ 162/* Macros to access an element of an attribute vector. */
163 163
164#define CODING_ATTR_BASE_NAME(attrs) AREF (attrs, coding_attr_base_name) 164#define CODING_ATTR_BASE_NAME(attrs) ASLOT (attrs, coding_attr_base_name)
165#define CODING_ATTR_TYPE(attrs) AREF (attrs, coding_attr_type) 165#define CODING_ATTR_TYPE(attrs) ASLOT (attrs, coding_attr_type)
166#define CODING_ATTR_CHARSET_LIST(attrs) AREF (attrs, coding_attr_charset_list) 166#define CODING_ATTR_CHARSET_LIST(attrs) ASLOT (attrs, coding_attr_charset_list)
167#define CODING_ATTR_MNEMONIC(attrs) AREF (attrs, coding_attr_mnemonic) 167#define CODING_ATTR_MNEMONIC(attrs) ASLOT (attrs, coding_attr_mnemonic)
168#define CODING_ATTR_DOCSTRING(attrs) AREF (attrs, coding_attr_docstring) 168#define CODING_ATTR_DOCSTRING(attrs) ASLOT (attrs, coding_attr_docstring)
169#define CODING_ATTR_ASCII_COMPAT(attrs) AREF (attrs, coding_attr_ascii_compat) 169#define CODING_ATTR_ASCII_COMPAT(attrs) ASLOT (attrs, coding_attr_ascii_compat)
170#define CODING_ATTR_DECODE_TBL(attrs) AREF (attrs, coding_attr_decode_tbl) 170#define CODING_ATTR_DECODE_TBL(attrs) ASLOT (attrs, coding_attr_decode_tbl)
171#define CODING_ATTR_ENCODE_TBL(attrs) AREF (attrs, coding_attr_encode_tbl) 171#define CODING_ATTR_ENCODE_TBL(attrs) ASLOT (attrs, coding_attr_encode_tbl)
172#define CODING_ATTR_TRANS_TBL(attrs) AREF (attrs, coding_attr_trans_tbl) 172#define CODING_ATTR_TRANS_TBL(attrs) ASLOT (attrs, coding_attr_trans_tbl)
173#define CODING_ATTR_POST_READ(attrs) AREF (attrs, coding_attr_post_read) 173#define CODING_ATTR_POST_READ(attrs) ASLOT (attrs, coding_attr_post_read)
174#define CODING_ATTR_PRE_WRITE(attrs) AREF (attrs, coding_attr_pre_write) 174#define CODING_ATTR_PRE_WRITE(attrs) ASLOT (attrs, coding_attr_pre_write)
175#define CODING_ATTR_DEFAULT_CHAR(attrs) AREF (attrs, coding_attr_default_char) 175#define CODING_ATTR_DEFAULT_CHAR(attrs) ASLOT (attrs, coding_attr_default_char)
176#define CODING_ATTR_FOR_UNIBYTE(attrs) AREF (attrs, coding_attr_for_unibyte) 176#define CODING_ATTR_FOR_UNIBYTE(attrs) ASLOT (attrs, coding_attr_for_unibyte)
177#define CODING_ATTR_FLUSHING(attrs) AREF (attrs, coding_attr_flushing) 177#define CODING_ATTR_FLUSHING(attrs) ASLOT (attrs, coding_attr_flushing)
178#define CODING_ATTR_PLIST(attrs) AREF (attrs, coding_attr_plist) 178#define CODING_ATTR_PLIST(attrs) ASLOT (attrs, coding_attr_plist)
179#define CODING_ATTR_CATEGORY(attrs) AREF (attrs, coding_attr_category) 179#define CODING_ATTR_CATEGORY(attrs) ASLOT (attrs, coding_attr_category)
180#define CODING_ATTR_SAFE_CHARSETS(attrs)AREF (attrs, coding_attr_safe_charsets) 180#define CODING_ATTR_SAFE_CHARSETS(attrs)ASLOT (attrs, coding_attr_safe_charsets)
181 181
182 182
183/* Return the name of a coding system specified by ID. */ 183/* Return the name of a coding system specified by ID. */
@@ -241,7 +241,7 @@ enum coding_attr_index
241 spec = CODING_SYSTEM_SPEC (x); \ 241 spec = CODING_SYSTEM_SPEC (x); \
242 } \ 242 } \
243 if (NILP (spec)) \ 243 if (NILP (spec)) \
244 x = wrong_type_argument (Qcoding_system_p, (x)); \ 244 wrong_type_argument (Qcoding_system_p, (x)); \
245 } while (0) 245 } while (0)
246 246
247 247
@@ -258,7 +258,7 @@ enum coding_attr_index
258 id = CODING_SYSTEM_ID (x); \ 258 id = CODING_SYSTEM_ID (x); \
259 } \ 259 } \
260 if (id < 0) \ 260 if (id < 0) \
261 x = wrong_type_argument (Qcoding_system_p, (x)); \ 261 wrong_type_argument (Qcoding_system_p, (x)); \
262 } while (0) 262 } while (0)
263 263
264 264