Mercurial > hg > xemacs-beta
comparison src/emacsfns.h @ 0:376386a54a3c r19-14
Import from CVS: tag r19-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:45:50 +0200 |
parents | |
children | 0293115a14e9 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:376386a54a3c |
---|---|
1 /* Various function declarations for XEmacs. | |
2 Used to be part of lisp.h | |
3 Copyright (C) 1985-1987, 1992-1994 Free Software Foundation, Inc. | |
4 | |
5 This file is part of XEmacs. | |
6 | |
7 XEmacs is free software; you can redistribute it and/or modify it | |
8 under the terms of the GNU General Public License as published by the | |
9 Free Software Foundation; either version 2, or (at your option) any | |
10 later version. | |
11 | |
12 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with XEmacs; see the file COPYING. If not, write to | |
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
20 Boston, MA 02111-1307, USA. */ | |
21 | |
22 /* Synched up with: Mule 2.0. Divergent from FSF. */ | |
23 | |
24 #ifndef _EMACSFNS_H_ | |
25 #define _EMACSFNS_H_ | |
26 | |
27 | |
28 /* Defined in abbrev.c */ | |
29 extern Lisp_Object Vfundamental_mode_abbrev_table; | |
30 Lisp_Object Fexpand_abbrev (void); | |
31 | |
32 | |
33 /* Defined in alloc.c */ | |
34 void release_breathing_space (void); | |
35 Lisp_Object Fcons (Lisp_Object car, Lisp_Object cdr); | |
36 Lisp_Object noseeum_cons (Lisp_Object car, Lisp_Object cdr); | |
37 Lisp_Object Flist (int nargs, Lisp_Object *args); | |
38 Lisp_Object Fmake_list (Lisp_Object length, Lisp_Object init); | |
39 Lisp_Object Fmake_vector (Lisp_Object length, Lisp_Object init); | |
40 Lisp_Object make_vector (EMACS_INT length, Lisp_Object init); | |
41 Lisp_Object Fvector (int nargs, Lisp_Object *args); | |
42 Lisp_Object vector1 (Lisp_Object); | |
43 Lisp_Object vector2 (Lisp_Object, Lisp_Object); | |
44 Lisp_Object vector3 (Lisp_Object, Lisp_Object, Lisp_Object); | |
45 Lisp_Object vector4 (Lisp_Object, Lisp_Object, Lisp_Object, | |
46 Lisp_Object); | |
47 Lisp_Object vector5 (Lisp_Object, Lisp_Object, Lisp_Object, | |
48 Lisp_Object, Lisp_Object); | |
49 Lisp_Object vector6 (Lisp_Object, Lisp_Object, Lisp_Object, | |
50 Lisp_Object, Lisp_Object, Lisp_Object); | |
51 Lisp_Object vector7 (Lisp_Object, Lisp_Object, Lisp_Object, | |
52 Lisp_Object, Lisp_Object, Lisp_Object, | |
53 Lisp_Object); | |
54 Lisp_Object vector8 (Lisp_Object, Lisp_Object, Lisp_Object, | |
55 Lisp_Object, Lisp_Object, Lisp_Object, | |
56 Lisp_Object, Lisp_Object); | |
57 Lisp_Object make_bit_vector (EMACS_INT length, Lisp_Object init); | |
58 Lisp_Object make_bit_vector_from_byte_vector (unsigned char *bytevec, | |
59 EMACS_INT length); | |
60 Lisp_Object Fmake_bit_vector (Lisp_Object length, Lisp_Object init); | |
61 Lisp_Object Fmake_symbol (Lisp_Object name); | |
62 Lisp_Object Fmake_marker (void); | |
63 Lisp_Object noseeum_make_marker (void); | |
64 Lisp_Object Fmake_string (Lisp_Object length, Lisp_Object init); | |
65 void garbage_collect_1 (void); | |
66 Lisp_Object Fgarbage_collect (void); | |
67 Lisp_Object list1 (Lisp_Object); | |
68 Lisp_Object list2 (Lisp_Object, Lisp_Object); | |
69 Lisp_Object list3 (Lisp_Object, Lisp_Object, Lisp_Object); | |
70 Lisp_Object list4 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object); | |
71 Lisp_Object list5 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, | |
72 Lisp_Object); | |
73 Lisp_Object list6 (Lisp_Object, Lisp_Object, Lisp_Object, Lisp_Object, | |
74 Lisp_Object, Lisp_Object); | |
75 | |
76 void malloc_warning (CONST char *); | |
77 DECLARE_DOESNT_RETURN (memory_full (void)); | |
78 void *xmalloc (int size); | |
79 void *xmalloc_and_zero (int size); | |
80 void *xrealloc (void *, int size); | |
81 #ifdef ERROR_CHECK_MALLOC | |
82 void xfree_1 (void *); | |
83 #else | |
84 void xfree (void *); | |
85 #endif | |
86 char *xstrdup (CONST char *); | |
87 void disksave_object_finalization (void); | |
88 extern int purify_flag; | |
89 extern int gc_currently_forbidden; | |
90 Lisp_Object restore_gc_inhibit (Lisp_Object); | |
91 extern EMACS_INT gc_generation_number[1]; | |
92 int purified (Lisp_Object); | |
93 | |
94 Lisp_Object build_string (CONST char *); | |
95 Lisp_Object build_ext_string (CONST char *str, | |
96 enum external_data_format fmt); | |
97 Lisp_Object build_translated_string (CONST char *); | |
98 Lisp_Object make_string (CONST Bufbyte *, Bytecount); | |
99 Lisp_Object make_ext_string (CONST Extbyte *contents, EMACS_INT length, | |
100 enum external_data_format fmt); | |
101 Lisp_Object make_uninit_string (Bytecount length); | |
102 | |
103 Lisp_Object make_float (double float_value); | |
104 | |
105 Lisp_Object Fmake_byte_code (int nargs, Lisp_Object *args); | |
106 | |
107 Lisp_Object Fpurecopy (Lisp_Object); | |
108 int purespace_usage (void); | |
109 void report_pure_usage (int report_impurities, | |
110 int die_if_pure_storage_exceeded); | |
111 Lisp_Object make_pure_string (CONST Bufbyte *, Bytecount len, | |
112 Lisp_Object plist, int nocopy); | |
113 Lisp_Object make_pure_pname (CONST Bufbyte *, Bytecount len, | |
114 int nocopy); | |
115 Lisp_Object pure_cons (Lisp_Object, Lisp_Object); | |
116 Lisp_Object pure_list (int nargs, Lisp_Object *args); | |
117 Lisp_Object make_pure_vector (EMACS_INT len, Lisp_Object init); | |
118 | |
119 void free_cons (struct Lisp_Cons *ptr); | |
120 void free_list (Lisp_Object list); | |
121 void free_alist (Lisp_Object alist); | |
122 void mark_conses_in_list (Lisp_Object obj); | |
123 | |
124 void free_marker (struct Lisp_Marker *ptr); | |
125 | |
126 #ifdef LISP_FLOAT_TYPE | |
127 Lisp_Object make_pure_float (double float_value); | |
128 /* void free_float (struct Lisp_Float *); */ | |
129 #endif | |
130 | |
131 int object_dead_p (Lisp_Object); | |
132 | |
133 #ifdef MEMORY_USAGE_STATS | |
134 int malloced_storage_size (void *ptr, int claimed_size, | |
135 struct overhead_stats *stats); | |
136 int fixed_type_block_overhead (int size); | |
137 #endif | |
138 | |
139 | |
140 /* Defined in buffer.c */ | |
141 Lisp_Object make_buffer (struct buffer *buf); | |
142 Lisp_Object Fset_buffer_left_margin_width (Lisp_Object width, | |
143 Lisp_Object buffer); | |
144 Lisp_Object Fset_buffer_right_margin_width (Lisp_Object width, | |
145 Lisp_Object buffer); | |
146 Lisp_Object Fbuffer_left_margin_width (Lisp_Object buffer); | |
147 Lisp_Object Fbuffer_right_margin_width (Lisp_Object buffer); | |
148 Lisp_Object Ferase_buffer (Lisp_Object buffer); | |
149 Lisp_Object Fbuffer_disable_undo (Lisp_Object buffer); | |
150 Lisp_Object Fkill_buffer (Lisp_Object buffer); | |
151 Lisp_Object Fbuffer_name (Lisp_Object buffer); | |
152 Lisp_Object Fget_buffer (Lisp_Object name); | |
153 Lisp_Object Fget_buffer_create (Lisp_Object name); | |
154 Lisp_Object Fget_file_buffer (Lisp_Object fn); | |
155 Lisp_Object get_truename_buffer (REGISTER Lisp_Object filename); | |
156 Lisp_Object Fset_buffer (Lisp_Object buffer); | |
157 Lisp_Object Fbarf_if_buffer_read_only (Lisp_Object buffer, | |
158 Lisp_Object s, Lisp_Object e); | |
159 Lisp_Object Fcurrent_buffer (void); | |
160 void switch_to_buffer (Lisp_Object buf, Lisp_Object norecord); | |
161 Lisp_Object Frecord_buffer (Lisp_Object); | |
162 Lisp_Object Fother_buffer (Lisp_Object buffer, Lisp_Object frame, | |
163 Lisp_Object visible_ok); | |
164 Lisp_Object Fbuffer_list (Lisp_Object frame); | |
165 Lisp_Object Fset_buffer_modified_p (Lisp_Object flag, | |
166 Lisp_Object buffer); | |
167 extern Lisp_Object QSscratch; /* "*scratch*" */ | |
168 extern Lisp_Object Qbuffer_file_name, Qbuffer_undo_list; | |
169 extern Lisp_Object Qdefault_directory; | |
170 extern int find_file_compare_truenames; | |
171 extern int find_file_use_truenames; | |
172 Lisp_Object Fbuffer_modified_p (Lisp_Object buffer); | |
173 Lisp_Object Fgenerate_new_buffer_name (Lisp_Object name, | |
174 Lisp_Object ignore); | |
175 Lisp_Object Frename_buffer (Lisp_Object name, Lisp_Object unique); | |
176 | |
177 /* Functions to call before and after each text change. */ | |
178 extern Lisp_Object Vbefore_change_functions; | |
179 extern Lisp_Object Qbefore_change_functions; | |
180 extern Lisp_Object Vafter_change_functions; | |
181 extern Lisp_Object Qafter_change_functions; | |
182 | |
183 /* #### Obsolete, for compatibility */ | |
184 extern Lisp_Object Vbefore_change_function; | |
185 extern Lisp_Object Qbefore_change_function; | |
186 extern Lisp_Object Vafter_change_function; | |
187 extern Lisp_Object Qafter_change_function; | |
188 | |
189 extern Lisp_Object Vfirst_change_hook; | |
190 extern Lisp_Object Qfirst_change_hook; | |
191 extern Lisp_Object Vinhibit_read_only; | |
192 | |
193 extern Lisp_Object Qpermanent_local, Qprotected_field; | |
194 | |
195 | |
196 /* Defined in bytecode.c */ | |
197 extern Lisp_Object Qbyte_code; | |
198 Lisp_Object Fbyte_code (Lisp_Object bytestr, | |
199 Lisp_Object constants_vector, | |
200 Lisp_Object maxdepth); | |
201 | |
202 | |
203 /* Defined in callint.c */ | |
204 extern Lisp_Object Vcommand_history; | |
205 extern Lisp_Object Qcall_interactively; | |
206 Lisp_Object Fcall_interactively (Lisp_Object fn, Lisp_Object record, | |
207 Lisp_Object keys); | |
208 Lisp_Object Fprefix_numeric_value (Lisp_Object prefix); | |
209 extern Lisp_Object Qread_from_minibuffer; | |
210 extern Lisp_Object Qenable_recursive_minibuffers; | |
211 extern Lisp_Object Qcompleting_read; | |
212 extern Lisp_Object Qread_file_name; | |
213 extern Lisp_Object Qread_directory_name; | |
214 extern Lisp_Object Qread_buffer; | |
215 extern Lisp_Object Qmouse_leave_buffer_hook; | |
216 | |
217 | |
218 /* Defined in callproc.c */ | |
219 extern Lisp_Object Vexec_path, Vexec_directory, Vdata_directory, | |
220 Vdoc_directory; | |
221 | |
222 | |
223 /* Defined in casefiddle.c */ | |
224 Lisp_Object Fupcase (Lisp_Object obj, Lisp_Object buffer); | |
225 Lisp_Object Fdowncase (Lisp_Object obj, Lisp_Object buffer); | |
226 Lisp_Object Fcapitalize (Lisp_Object obj, Lisp_Object buffer); | |
227 Lisp_Object Fupcase_initials (Lisp_Object obj, Lisp_Object buffer); | |
228 Lisp_Object Fupcase_region (Lisp_Object b, Lisp_Object e, | |
229 Lisp_Object buffer); | |
230 Lisp_Object Fdowncase_region (Lisp_Object b, Lisp_Object e, | |
231 Lisp_Object buffer); | |
232 Lisp_Object Fcapitalize_region (Lisp_Object b, Lisp_Object e, | |
233 Lisp_Object buffer); | |
234 Lisp_Object Fupcase_initials_region (Lisp_Object b, Lisp_Object e, | |
235 Lisp_Object buffer); | |
236 Lisp_Object Fupcase_word (Lisp_Object arg, Lisp_Object buffer); | |
237 Lisp_Object Fdowncase_word (Lisp_Object arg, Lisp_Object buffer); | |
238 Lisp_Object Fcapitalize_word (Lisp_Object arg, Lisp_Object buffer); | |
239 | |
240 extern Lisp_Object Vascii_downcase_table, Vascii_upcase_table; | |
241 extern Lisp_Object Vascii_canon_table, Vascii_eqv_table; | |
242 | |
243 | |
244 /* Defined in cmdloop.c */ | |
245 Lisp_Object Frecursive_edit (void); | |
246 extern Lisp_Object Qdisabled, Qtop_level; | |
247 extern Lisp_Object Vdisabled_command_hook; | |
248 Lisp_Object Fcommand_loop_1 (void); | |
249 extern Lisp_Object Qreally_early_error_handler; | |
250 | |
251 | |
252 /* Defined in cmds.c */ | |
253 Lisp_Object Fforward_char (Lisp_Object n, Lisp_Object buffer); | |
254 Lisp_Object Fforward_line (Lisp_Object n, Lisp_Object buffer); | |
255 Lisp_Object Fend_of_line (Lisp_Object n, Lisp_Object buffer); | |
256 Lisp_Object Fbeginning_of_line (Lisp_Object n, Lisp_Object buffer); | |
257 extern Lisp_Object Qself_insert_command; | |
258 | |
259 | |
260 /* Defined in console.c */ | |
261 Lisp_Object Fset_input_mode (Lisp_Object interrupt, | |
262 Lisp_Object flow, | |
263 Lisp_Object meta, | |
264 Lisp_Object quit, | |
265 Lisp_Object console); | |
266 Lisp_Object Fselect_console (Lisp_Object); | |
267 Lisp_Object Fselected_console (void); | |
268 Lisp_Object Fdelete_console (Lisp_Object console, Lisp_Object force); | |
269 Lisp_Object Fconsole_type (Lisp_Object); | |
270 Lisp_Object Fconsole_name (Lisp_Object); | |
271 Lisp_Object Fconsole_enable_input (Lisp_Object console); | |
272 Lisp_Object Fconsole_disable_input (Lisp_Object console); | |
273 void stuff_buffered_input (Lisp_Object stuffstring); | |
274 extern Lisp_Object Qx, Qns, Qtty, Qstream; | |
275 extern Lisp_Object Qcreate_console_hook, Qdelete_console_hook; | |
276 | |
277 | |
278 /* Defined in data.c */ | |
279 extern Lisp_Object Qnil, Qt, Qquote, Qlambda, Qunbound; | |
280 extern Lisp_Object Qerror_conditions, Qerror_message, Qtop_level, Qsignal; | |
281 extern Lisp_Object Qerror, Qquit, Qwrong_type_argument, Qargs_out_of_range; | |
282 extern Lisp_Object Qvoid_function, Qvoid_variable; | |
283 extern Lisp_Object Qcyclic_function_indirection, Qcyclic_variable_indirection; | |
284 extern Lisp_Object Qsetting_constant, Qinvalid_read_syntax; | |
285 extern Lisp_Object Qmalformed_list, Qmalformed_property_list; | |
286 extern Lisp_Object Qcircular_list, Qcircular_property_list; | |
287 extern Lisp_Object Qinvalid_function, Qwrong_number_of_arguments, Qno_catch; | |
288 extern Lisp_Object Qio_error; | |
289 extern Lisp_Object Qend_of_file, Qarith_error; | |
290 extern Lisp_Object Qrange_error, Qdomain_error, Qsingularity_error; | |
291 extern Lisp_Object Qsingularity_error, Qoverflow_error, Qunderflow_error; | |
292 extern Lisp_Object Qbeginning_of_buffer, Qend_of_buffer, Qbuffer_read_only; | |
293 | |
294 extern Lisp_Object Qintegerp, Qnatnump, Qsymbolp, Qlistp, Qconsp; | |
295 extern Lisp_Object Qstringp, Qarrayp, Qsequencep, Qbufferp, Qsubrp; | |
296 extern Lisp_Object Qcharacterp, Qchar_or_string_p, Qmarkerp, Qvectorp; | |
297 extern Lisp_Object Qbitp, Qbit_vectorp; | |
298 extern Lisp_Object Qinteger_or_char_p; | |
299 extern Lisp_Object Qinteger_or_marker_p, Qboundp, Qfboundp; | |
300 extern Lisp_Object Qcons; | |
301 extern Lisp_Object Qcdr, Qignore; | |
302 | |
303 extern Lisp_Object Qnumberp, Qnumber_or_marker_p; | |
304 extern Lisp_Object Qnumber_char_or_marker_p; | |
305 | |
306 extern Lisp_Object Qvalues; | |
307 extern Lisp_Object Qprogn; | |
308 extern Lisp_Object Qstring_or_buffer_p; | |
309 | |
310 extern Lisp_Object Qfloatp; | |
311 Lisp_Object Ftruncate (Lisp_Object n); | |
312 | |
313 Lisp_Object Flistp (Lisp_Object x); | |
314 | |
315 Lisp_Object Fcar (Lisp_Object cons), Fcar_safe (Lisp_Object cons); | |
316 Lisp_Object Fcdr (Lisp_Object cons), Fcdr_safe (Lisp_Object cons); | |
317 Lisp_Object Fsetcar (Lisp_Object cons, Lisp_Object val); | |
318 Lisp_Object Fsetcdr (Lisp_Object cons, Lisp_Object val); | |
319 Lisp_Object Faref (Lisp_Object array, Lisp_Object idx); | |
320 Lisp_Object Faset (Lisp_Object array, Lisp_Object idx, Lisp_Object x); | |
321 Lisp_Object Farray_length (Lisp_Object array); | |
322 Lisp_Object Felt (Lisp_Object seq, Lisp_Object idx); | |
323 | |
324 Lisp_Object Fzerop (Lisp_Object); | |
325 Lisp_Object Fnumber_to_string (Lisp_Object num); | |
326 Lisp_Object Fstring_to_number (Lisp_Object str); | |
327 Lisp_Object Fsubr_min_args (Lisp_Object subr); | |
328 Lisp_Object Fsubr_max_args (Lisp_Object subr); | |
329 | |
330 #ifndef make_int | |
331 Lisp_Object make_int (EMACS_INT); | |
332 #endif | |
333 Lisp_Object make_char (Emchar num); | |
334 DECLARE_DOESNT_RETURN (pure_write_error (void)); | |
335 DECLARE_DOESNT_RETURN (args_out_of_range (Lisp_Object, Lisp_Object)); | |
336 DECLARE_DOESNT_RETURN (args_out_of_range_3 (Lisp_Object, Lisp_Object, | |
337 Lisp_Object)); | |
338 Lisp_Object wrong_type_argument (Lisp_Object pred, Lisp_Object value); | |
339 DECLARE_DOESNT_RETURN (dead_wrong_type_argument (Lisp_Object predicate, | |
340 Lisp_Object value)); | |
341 void check_int_range (int val, int min, int max); | |
342 | |
343 Lisp_Object word_to_lisp (unsigned int); | |
344 unsigned int lisp_to_word (Lisp_Object); | |
345 | |
346 Lisp_Object Fcompiled_function_instructions (Lisp_Object function); | |
347 Lisp_Object Fcompiled_function_constants (Lisp_Object function); | |
348 Lisp_Object Fcompiled_function_stack_depth (Lisp_Object function); | |
349 Lisp_Object Fcompiled_function_arglist (Lisp_Object function); | |
350 Lisp_Object Fcompiled_function_interactive (Lisp_Object function); | |
351 Lisp_Object Fcompiled_function_domain (Lisp_Object function); | |
352 Lisp_Object Fcompiled_function_annotation (Lisp_Object function); | |
353 | |
354 Lisp_Object Fquo (int nargs, Lisp_Object *args); | |
355 Lisp_Object Fsub1 (Lisp_Object num); | |
356 Lisp_Object Fadd1 (Lisp_Object num); | |
357 Lisp_Object Fgtr (Lisp_Object num1, Lisp_Object num2); | |
358 Lisp_Object Flss (Lisp_Object num1, Lisp_Object num2); | |
359 Lisp_Object Fleq (Lisp_Object num1, Lisp_Object num2); | |
360 Lisp_Object Fgeq (Lisp_Object num1, Lisp_Object num2); | |
361 Lisp_Object Fminus (int nargs, Lisp_Object *args); | |
362 Lisp_Object Fplus (int nargs, Lisp_Object *args); | |
363 Lisp_Object Fmin (int nargs, Lisp_Object *args); | |
364 Lisp_Object Fmax (int nargs, Lisp_Object *args); | |
365 Lisp_Object Ftimes (int nargs, Lisp_Object *args); | |
366 Lisp_Object Frem (Lisp_Object num1, Lisp_Object num2); | |
367 | |
368 | |
369 /* Defined in device.c */ | |
370 Lisp_Object Fmake_device (Lisp_Object type, Lisp_Object connection, | |
371 Lisp_Object params); | |
372 Lisp_Object Fselect_device (Lisp_Object device); | |
373 Lisp_Object Fset_device_selected_frame (Lisp_Object device, Lisp_Object frame); | |
374 Lisp_Object Fselected_device (Lisp_Object); | |
375 Lisp_Object Fdelete_device (Lisp_Object device, Lisp_Object force); | |
376 Lisp_Object Fdevice_console (Lisp_Object); | |
377 Lisp_Object Fdevice_name (Lisp_Object); | |
378 extern Lisp_Object Qgrayscale, Qmono; | |
379 extern Lisp_Object Qcreate_device_hook, Qdelete_device_hook; | |
380 | |
381 /* Defined in device-tty.c */ | |
382 extern Lisp_Object Qinit_post_tty_win; | |
383 | |
384 /* Defined in dialog.c */ | |
385 Lisp_Object Fpopup_dialog_box (Lisp_Object dbox_desc); | |
386 | |
387 | |
388 /* Defined in dired.c */ | |
389 Lisp_Object make_directory_hash_table (char *path); | |
390 Lisp_Object wasteful_word_to_lisp (unsigned int item); | |
391 | |
392 | |
393 /* Defined in doc.c */ | |
394 extern Lisp_Object Vdoc_file_name; | |
395 Lisp_Object Fsubstitute_command_keys (Lisp_Object string); | |
396 Lisp_Object Fdocumentation (Lisp_Object fun, Lisp_Object raw); | |
397 Lisp_Object Fdocumentation_property (Lisp_Object sym, Lisp_Object prop, | |
398 Lisp_Object raw); | |
399 Lisp_Object unparesseuxify_doc_string (int fd, EMACS_INT position, | |
400 char *name_nonreloc, | |
401 Lisp_Object name_reloc); | |
402 Lisp_Object read_doc_string (Lisp_Object filepos); | |
403 | |
404 | |
405 /* Defined in doprnt.c */ | |
406 Bytecount emacs_doprnt_c (Lisp_Object stream, | |
407 CONST Bufbyte *format_nonreloc, | |
408 Lisp_Object format_reloc, | |
409 Bytecount format_length, | |
410 ...); | |
411 Bytecount emacs_doprnt_va (Lisp_Object stream, | |
412 CONST Bufbyte *format_nonreloc, | |
413 Lisp_Object format_reloc, | |
414 Bytecount format_length, | |
415 va_list vargs); | |
416 Bytecount emacs_doprnt_lisp (Lisp_Object stream, | |
417 CONST Bufbyte *format_nonreloc, | |
418 Lisp_Object format_reloc, | |
419 Bytecount format_length, | |
420 int nargs, CONST Lisp_Object *largs); | |
421 Bytecount emacs_doprnt_lisp_2 (Lisp_Object stream, | |
422 CONST Bufbyte *format_nonreloc, | |
423 Lisp_Object format_reloc, | |
424 Bytecount format_length, | |
425 int nargs, ...); | |
426 Lisp_Object emacs_doprnt_string_c (CONST Bufbyte *format_nonreloc, | |
427 Lisp_Object format_reloc, | |
428 Bytecount format_length, | |
429 ...); | |
430 Lisp_Object emacs_doprnt_string_va (CONST Bufbyte *format_nonreloc, | |
431 Lisp_Object format_reloc, | |
432 Bytecount format_length, | |
433 va_list vargs); | |
434 Lisp_Object emacs_doprnt_string_lisp (CONST Bufbyte *format_nonreloc, | |
435 Lisp_Object format_reloc, | |
436 Bytecount format_length, | |
437 int nargs, | |
438 CONST Lisp_Object *largs); | |
439 Lisp_Object emacs_doprnt_string_lisp_2 (CONST Bufbyte *format_nonreloc, | |
440 Lisp_Object format_reloc, | |
441 Bytecount format_length, | |
442 int nargs, ...); | |
443 | |
444 | |
445 /* Defined in editfns.c */ | |
446 Bufpos bufpos_clip_to_bounds (Bufpos lower, Bufpos num, Bufpos upper); | |
447 Bytind bytind_clip_to_bounds (Bytind lower, Bytind num, Bytind upper); | |
448 Lisp_Object time_to_lisp (time_t the_time); | |
449 int lisp_to_time (Lisp_Object specified_time, time_t *result); | |
450 Lisp_Object Fwiden (Lisp_Object buffer); | |
451 Lisp_Object Fnarrow_to_region (Lisp_Object b, Lisp_Object e, | |
452 Lisp_Object buffer); | |
453 extern Lisp_Object Vprefix_arg, Vcurrent_prefix_arg; | |
454 extern Lisp_Object Qcurrent_prefix_arg; | |
455 Lisp_Object Fgoto_char (Lisp_Object pos, Lisp_Object buffer); | |
456 Lisp_Object Fpoint_min_marker (Lisp_Object buffer); | |
457 Lisp_Object Fpoint_max_marker (Lisp_Object buffer); | |
458 Lisp_Object Fpoint_min (Lisp_Object buffer); | |
459 Lisp_Object Fpoint_max (Lisp_Object buffer); | |
460 Lisp_Object Fpoint (Lisp_Object buffer); | |
461 Lisp_Object Fpoint_marker (Lisp_Object dont_copy_p, Lisp_Object buffer); | |
462 Lisp_Object Fmark_marker (Lisp_Object inactive_p, Lisp_Object buffer); | |
463 Lisp_Object Ffollowing_char (Lisp_Object buffer); | |
464 Lisp_Object Fpreceding_char (Lisp_Object buffer); | |
465 Lisp_Object Fchar_after (Lisp_Object pos, Lisp_Object buffer); | |
466 Lisp_Object Finsert (int nargs, Lisp_Object *args); | |
467 Lisp_Object Finsert_string (Lisp_Object string, Lisp_Object buffer); | |
468 Lisp_Object Finsert_char (Lisp_Object ch, Lisp_Object count, | |
469 Lisp_Object ignored, Lisp_Object buffer); | |
470 void buffer_insert1 (struct buffer *buf, Lisp_Object arg); | |
471 Lisp_Object Finsert_before_markers (int nargs, Lisp_Object *args); | |
472 Lisp_Object Finsert_buffer_substring (Lisp_Object buffer, | |
473 Lisp_Object b, Lisp_Object e); | |
474 Lisp_Object Fdelete_region (Lisp_Object b, Lisp_Object e, | |
475 Lisp_Object buffer); | |
476 Lisp_Object Feolp (Lisp_Object buffer); | |
477 Lisp_Object Feobp (Lisp_Object buffer); | |
478 Lisp_Object Fbolp (Lisp_Object buffer); | |
479 Lisp_Object Fbobp (Lisp_Object buffer); | |
480 Lisp_Object Fformat (int nargs, Lisp_Object *args); | |
481 Lisp_Object Fbuffer_substring (Lisp_Object start, Lisp_Object end, | |
482 Lisp_Object buffer); | |
483 Lisp_Object make_string_from_buffer (struct buffer *buf, | |
484 int pos, int length); | |
485 Lisp_Object save_excursion_save (void), save_restriction_save (void); | |
486 Lisp_Object save_excursion_restore (Lisp_Object info); | |
487 Lisp_Object save_restriction_restore (Lisp_Object info); | |
488 Lisp_Object Fchar_to_string (Lisp_Object ch); | |
489 Lisp_Object Fcurrent_time_seconds (Lisp_Object cons); | |
490 Lisp_Object Fgetenv (Lisp_Object var, Lisp_Object interactivep); | |
491 extern Lisp_Object Qpoint, Qmark, Qregion_beginning, Qregion_end; | |
492 extern Lisp_Object Qformat; | |
493 | |
494 | |
495 /* Defined in elhash.c */ | |
496 Lisp_Object Fhashtablep (Lisp_Object obj); | |
497 Lisp_Object Fmake_hashtable (Lisp_Object size, Lisp_Object test_fun); | |
498 Lisp_Object Fcopy_hashtable (Lisp_Object old_table); | |
499 Lisp_Object Fgethash (Lisp_Object key, Lisp_Object table, | |
500 Lisp_Object def); | |
501 Lisp_Object Fremhash (Lisp_Object key, Lisp_Object table); | |
502 Lisp_Object Fputhash (Lisp_Object key, Lisp_Object val, | |
503 Lisp_Object table); | |
504 Lisp_Object Fclrhash (Lisp_Object table); | |
505 Lisp_Object Fhashtable_fullness (Lisp_Object table); | |
506 Lisp_Object Fmaphash (Lisp_Object function, Lisp_Object table); | |
507 | |
508 extern Lisp_Object Vcharacter_set_property; | |
509 | |
510 | |
511 /* Defined in emacs.c */ | |
512 DECLARE_DOESNT_RETURN_GCC__ATTRIBUTE__SYNTAX_SUCKS (fatal (CONST char *fmt, | |
513 ...), | |
514 1, 2); | |
515 int stderr_out (CONST char *fmt, ...) PRINTF_ARGS (1, 2); | |
516 int stdout_out (CONST char *fmt, ...) PRINTF_ARGS (1, 2); | |
517 SIGTYPE fatal_error_signal (int sig); | |
518 Lisp_Object make_arg_list (int argc, char **argv); | |
519 void make_argc_argv (Lisp_Object argv_list, int *argc, char ***argv); | |
520 void free_argc_argv (char **argv); | |
521 Lisp_Object decode_env_path (CONST char *evarname, CONST char *def); | |
522 /* Nonzero means don't do interactive redisplay and don't change tty modes */ | |
523 extern int noninteractive; | |
524 Lisp_Object Fkill_emacs (Lisp_Object arg); | |
525 extern int preparing_for_armageddon; | |
526 | |
527 extern Lisp_Object Vcommand_line_args; | |
528 extern Lisp_Object Vinvocation_name; | |
529 extern Lisp_Object Vinvocation_directory; | |
530 | |
531 extern int emacs_priority; | |
532 extern int running_asynch_code; | |
533 extern int suppress_early_backtrace; | |
534 | |
535 extern Lisp_Object Qsave_buffers_kill_emacs; | |
536 extern Lisp_Object Qkill_emacs_hook; | |
537 | |
538 | |
539 /* Defined in eval.c */ | |
540 extern Lisp_Object Qautoload, Qexit, Qinteractive, Qcommandp, Qdefun, Qmacro; | |
541 extern Lisp_Object Vinhibit_quit, Vquit_flag, Qinhibit_quit, Qrun_hooks; | |
542 extern Lisp_Object Vautoload_queue; | |
543 Lisp_Object Fuser_variable_p (Lisp_Object); | |
544 Lisp_Object Finteractive_p (void); | |
545 Lisp_Object Fsignal (Lisp_Object signame, Lisp_Object data); | |
546 DECLARE_DOESNT_RETURN (signal_error (Lisp_Object sig, Lisp_Object data)); | |
547 void maybe_signal_error (Lisp_Object sig, Lisp_Object data, Lisp_Object class, | |
548 Error_behavior errb); | |
549 Lisp_Object maybe_signal_continuable_error (Lisp_Object sig, Lisp_Object data, | |
550 Lisp_Object class, | |
551 Error_behavior errb); | |
552 DECLARE_DOESNT_RETURN_GCC__ATTRIBUTE__SYNTAX_SUCKS (error (CONST char *fmt, | |
553 ...), | |
554 1, 2); | |
555 void maybe_error (Lisp_Object class, Error_behavior errb, | |
556 CONST char *fmt, ...) PRINTF_ARGS (3, 4); | |
557 Lisp_Object continuable_error (CONST char *fmt, ...) PRINTF_ARGS (1, 2); | |
558 Lisp_Object maybe_continuable_error (Lisp_Object class, Error_behavior errb, | |
559 CONST char *fmt, ...) PRINTF_ARGS (3, 4); | |
560 DECLARE_DOESNT_RETURN (signal_simple_error (CONST char *, Lisp_Object)); | |
561 void maybe_signal_simple_error (CONST char *, Lisp_Object, | |
562 Lisp_Object class, Error_behavior errb); | |
563 Lisp_Object signal_simple_continuable_error (CONST char *, | |
564 Lisp_Object); | |
565 Lisp_Object maybe_signal_simple_continuable_error (CONST char *reason, | |
566 Lisp_Object frob, | |
567 Lisp_Object class, | |
568 Error_behavior errb); | |
569 DECLARE_DOESNT_RETURN_GCC__ATTRIBUTE__SYNTAX_SUCKS (error_with_frob | |
570 (Lisp_Object frob, | |
571 CONST char *fmt, ...), | |
572 2, 3); | |
573 void maybe_error_with_frob (Lisp_Object frob, Lisp_Object class, | |
574 Error_behavior errb, | |
575 CONST char *fmt, ...) PRINTF_ARGS (4, 5); | |
576 Lisp_Object continuable_error_with_frob (Lisp_Object frob, CONST char *fmt, | |
577 ...) PRINTF_ARGS (2, 3); | |
578 Lisp_Object maybe_continuable_error_with_frob (Lisp_Object frob, | |
579 Lisp_Object class, | |
580 Error_behavior errb, | |
581 CONST char *fmt, | |
582 ...) PRINTF_ARGS (4, 5); | |
583 DECLARE_DOESNT_RETURN (signal_simple_error_2 (CONST char *, | |
584 Lisp_Object, Lisp_Object)); | |
585 void maybe_signal_simple_error_2 (CONST char *reason, Lisp_Object frob0, | |
586 Lisp_Object frob1, Lisp_Object class, | |
587 Error_behavior errb); | |
588 Lisp_Object signal_simple_continuable_error_2 (CONST char *, | |
589 Lisp_Object, | |
590 Lisp_Object); | |
591 Lisp_Object maybe_signal_simple_continuable_error_2 (CONST char *reason, | |
592 Lisp_Object frob0, | |
593 Lisp_Object frob1, | |
594 Lisp_Object class, | |
595 Error_behavior errb); | |
596 Lisp_Object Fprogn (Lisp_Object args); | |
597 Lisp_Object Fcommandp (Lisp_Object obj); | |
598 Lisp_Object Feval (Lisp_Object form); | |
599 Lisp_Object Fapply (int nargs, Lisp_Object *args); | |
600 Lisp_Object funcall_recording_as (Lisp_Object recorded_as, int nargs, | |
601 Lisp_Object *args); | |
602 Lisp_Object Ffuncall (int nargs, Lisp_Object *args); | |
603 Lisp_Object Fbacktrace (Lisp_Object stream, Lisp_Object detailed); | |
604 Lisp_Object run_hook_with_args_in_buffer (struct buffer *buf, int nargs, | |
605 Lisp_Object *args, | |
606 enum run_hooks_condition cond); | |
607 Lisp_Object run_hook_with_args (int nargs, Lisp_Object *args, | |
608 enum run_hooks_condition cond); | |
609 void va_run_hook_with_args (Lisp_Object hook_var, int nargs, ...); | |
610 void va_run_hook_with_args_in_buffer (struct buffer *buf, Lisp_Object hook_var, | |
611 int nargs, ...); | |
612 Lisp_Object run_hook (Lisp_Object hook); | |
613 Lisp_Object apply1 (Lisp_Object fn, Lisp_Object args); | |
614 Lisp_Object call0 (Lisp_Object fn); | |
615 Lisp_Object call1 (Lisp_Object fn, Lisp_Object a0); | |
616 Lisp_Object call2 (Lisp_Object fn, Lisp_Object a0, Lisp_Object a1); | |
617 Lisp_Object call3 (Lisp_Object fn, | |
618 Lisp_Object a0, Lisp_Object a1, Lisp_Object a2); | |
619 Lisp_Object call4 (Lisp_Object fn, | |
620 Lisp_Object a0, Lisp_Object a1, Lisp_Object a2, | |
621 Lisp_Object a3); | |
622 Lisp_Object call5 (Lisp_Object fn, | |
623 Lisp_Object a0, Lisp_Object a1, Lisp_Object a2, | |
624 Lisp_Object a3, Lisp_Object a4); | |
625 Lisp_Object call6 (Lisp_Object fn, | |
626 Lisp_Object a0, Lisp_Object a1, Lisp_Object a2, | |
627 Lisp_Object a3, Lisp_Object a4, Lisp_Object a5); | |
628 Lisp_Object call7 (Lisp_Object fn, | |
629 Lisp_Object a0, Lisp_Object a1, Lisp_Object a2, | |
630 Lisp_Object a3, Lisp_Object a4, Lisp_Object a5, | |
631 Lisp_Object a6); | |
632 Lisp_Object call8 (Lisp_Object fn, | |
633 Lisp_Object a0, Lisp_Object a1, Lisp_Object a2, | |
634 Lisp_Object a3, Lisp_Object a4, Lisp_Object a5, | |
635 Lisp_Object a6, Lisp_Object a7); | |
636 Lisp_Object call0_in_buffer (struct buffer *buf, Lisp_Object fn); | |
637 Lisp_Object call1_in_buffer (struct buffer *buf, Lisp_Object fn, | |
638 Lisp_Object a0); | |
639 Lisp_Object call2_in_buffer (struct buffer *buf, Lisp_Object fn, | |
640 Lisp_Object a0, Lisp_Object a1); | |
641 Lisp_Object call3_in_buffer (struct buffer *buf, Lisp_Object fn, | |
642 Lisp_Object a0, Lisp_Object a1, | |
643 Lisp_Object a2); | |
644 Lisp_Object call4_in_buffer (struct buffer *buf, Lisp_Object fn, | |
645 Lisp_Object a0, Lisp_Object a1, | |
646 Lisp_Object a2, Lisp_Object a3); | |
647 Lisp_Object call5_in_buffer (struct buffer *buf, Lisp_Object fn, | |
648 Lisp_Object a0, Lisp_Object a1, | |
649 Lisp_Object a2, Lisp_Object a3, | |
650 Lisp_Object a4); | |
651 Lisp_Object call6_in_buffer (struct buffer *buf, Lisp_Object fn, | |
652 Lisp_Object a0, Lisp_Object a1, | |
653 Lisp_Object a2, Lisp_Object a3, | |
654 Lisp_Object a4, Lisp_Object a5); | |
655 Lisp_Object eval_in_buffer (struct buffer *buf, Lisp_Object form); | |
656 Lisp_Object call0_with_handler (Lisp_Object handler, Lisp_Object fn); | |
657 Lisp_Object call1_with_handler (Lisp_Object handler, Lisp_Object fn, | |
658 Lisp_Object a0); | |
659 Lisp_Object eval_in_buffer_trapping_errors (CONST char *warning_string, | |
660 struct buffer *buf, | |
661 Lisp_Object form); | |
662 Lisp_Object run_hook_trapping_errors (CONST char *warning_string, | |
663 Lisp_Object hook_symbol); | |
664 Lisp_Object safe_run_hook_trapping_errors (CONST char *warning_string, | |
665 Lisp_Object hook_symbol, | |
666 int allow_quit); | |
667 Lisp_Object call0_trapping_errors (CONST char *warning_string, | |
668 Lisp_Object function); | |
669 Lisp_Object call1_trapping_errors (CONST char *warning_string, | |
670 Lisp_Object function, | |
671 Lisp_Object object); | |
672 Lisp_Object call2_trapping_errors (CONST char *warning_string, | |
673 Lisp_Object function, | |
674 Lisp_Object object1, | |
675 Lisp_Object object2); | |
676 Lisp_Object call_with_suspended_errors (Lisp_Object (*fun)(), | |
677 Lisp_Object retval, | |
678 Lisp_Object class, | |
679 Error_behavior errb, | |
680 int nargs, ...); | |
681 /* C Code should be using internal_catch, record_unwind_p, condition_case_1 */ | |
682 /* Lisp_Object Fcatch (Lisp_Object args); */ | |
683 /* Lisp_Object Funwind_protect (Lisp_Object args); */ | |
684 /* Lisp_Object Fcondition_case (Lisp_Object args); */ | |
685 Lisp_Object Fthrow (Lisp_Object tag, Lisp_Object val); | |
686 Lisp_Object internal_catch (Lisp_Object tag, | |
687 Lisp_Object (*func) (Lisp_Object arg), | |
688 Lisp_Object arg, | |
689 int *threw); | |
690 Lisp_Object condition_case_1 (Lisp_Object handlers, | |
691 Lisp_Object (*bfun) (Lisp_Object barg), | |
692 Lisp_Object barg, | |
693 Lisp_Object (*hfun) (Lisp_Object val, | |
694 Lisp_Object harg), | |
695 Lisp_Object harg); | |
696 Lisp_Object Fcondition_case_3 (Lisp_Object bodyform, | |
697 Lisp_Object var, | |
698 Lisp_Object handlers); | |
699 Lisp_Object unbind_to (int n, Lisp_Object val); | |
700 void specbind (Lisp_Object symbol, Lisp_Object value); | |
701 void record_unwind_protect (Lisp_Object (*function) (Lisp_Object arg), | |
702 Lisp_Object arg); | |
703 void do_autoload (Lisp_Object fundef, Lisp_Object funname); | |
704 Lisp_Object un_autoload (Lisp_Object oldqueue); | |
705 void warn_when_safe_lispobj (Lisp_Object class, Lisp_Object level, | |
706 Lisp_Object obj); | |
707 void warn_when_safe (Lisp_Object class, Lisp_Object level, | |
708 CONST char *fmt, ...) PRINTF_ARGS (3, 4); | |
709 Lisp_Object Fcommand_execute (Lisp_Object cmd, Lisp_Object record, | |
710 Lisp_Object keys); | |
711 Lisp_Object Ffetch_bytecode (Lisp_Object object); | |
712 | |
713 | |
714 /* Defined in event-stream.c */ | |
715 Lisp_Object Fread_key_sequence (Lisp_Object prompt, Lisp_Object continue_echo, | |
716 Lisp_Object dont_downcase_last); | |
717 Lisp_Object Fsit_for (Lisp_Object seconds, Lisp_Object nodisp); | |
718 Lisp_Object Fsleep_for (Lisp_Object seconds); | |
719 Lisp_Object Faccept_process_output (Lisp_Object process, | |
720 Lisp_Object timeout_secs, | |
721 Lisp_Object timeout_msecs); | |
722 Lisp_Object Fnext_event (Lisp_Object event, Lisp_Object prompt); | |
723 Lisp_Object Fnext_command_event (Lisp_Object event, Lisp_Object prompt); | |
724 Lisp_Object Fdispatch_event (Lisp_Object event); | |
725 void wait_delaying_user_input (int (*predicate) (void *arg), | |
726 void *predicate_arg); | |
727 int detect_input_pending (void); | |
728 void enqueue_command_event (Lisp_Object event); | |
729 Lisp_Object dequeue_command_event (void); | |
730 Lisp_Object Fadd_timeout (Lisp_Object secs, | |
731 Lisp_Object function, Lisp_Object object, | |
732 Lisp_Object resignal); | |
733 Lisp_Object Fdisable_timeout (Lisp_Object id); | |
734 void reset_this_command_keys (Lisp_Object console, int clear_echo_area_p); | |
735 Lisp_Object Fenqueue_eval_event (Lisp_Object function, | |
736 Lisp_Object object); | |
737 Lisp_Object enqueue_misc_user_event (Lisp_Object channel, | |
738 Lisp_Object function, | |
739 Lisp_Object object); | |
740 extern Lisp_Object Qpre_command_hook, Qpost_command_hook; | |
741 Lisp_Object Fdiscard_input (void), Finput_pending_p (void); | |
742 | |
743 | |
744 /* Defined in event-Xt.c */ | |
745 void signal_special_Xt_user_event (Lisp_Object channel, | |
746 Lisp_Object function, | |
747 Lisp_Object object); | |
748 | |
749 | |
750 /* Defined in events.c */ | |
751 void clear_event_resource (void); | |
752 Lisp_Object Fmake_event (void); | |
753 Lisp_Object Fdeallocate_event (Lisp_Object event); | |
754 Lisp_Object Fcopy_event (Lisp_Object from, Lisp_Object to); | |
755 Lisp_Object allocate_event (void); | |
756 int event_to_character (struct Lisp_Event *event, | |
757 int allow_extra_modifiers, | |
758 int allow_meta, | |
759 int allow_non_ascii); | |
760 Lisp_Object Fcharacter_to_event (Lisp_Object ch, Lisp_Object event, | |
761 Lisp_Object console, | |
762 Lisp_Object use_console_meta_flag); | |
763 Lisp_Object Fevent_to_character (Lisp_Object e, | |
764 Lisp_Object allow_extra_modifiers, | |
765 Lisp_Object allow_meta, | |
766 Lisp_Object allow_non_ascii); | |
767 Lisp_Object Fevent_over_text_area_p (Lisp_Object event); | |
768 Lisp_Object Fevent_over_modeline_p (Lisp_Object event); | |
769 Lisp_Object Fevent_over_border_p (Lisp_Object event); | |
770 Lisp_Object Fevent_over_toolbar_p (Lisp_Object event); | |
771 Lisp_Object Fevent_window (Lisp_Object event); | |
772 Lisp_Object Fevent_buffer (Lisp_Object event); | |
773 Lisp_Object Fevent_button (Lisp_Object event); | |
774 Lisp_Object Fevent_function (Lisp_Object event); | |
775 Lisp_Object Fevent_glyph_extent (Lisp_Object event); | |
776 Lisp_Object Fevent_modeline_position (Lisp_Object event); | |
777 Lisp_Object Fevent_key (Lisp_Object event); | |
778 Lisp_Object Fevent_modifiers (Lisp_Object event); | |
779 Lisp_Object Fevent_modifier_bits (Lisp_Object event); | |
780 Lisp_Object Fevent_object (Lisp_Object event); | |
781 Lisp_Object Fevent_point (Lisp_Object event); | |
782 Lisp_Object Fevent_process (Lisp_Object event); | |
783 Lisp_Object Fevent_timestamp (Lisp_Object event); | |
784 Lisp_Object Fevent_x (Lisp_Object event); | |
785 Lisp_Object Fevent_y (Lisp_Object event); | |
786 Lisp_Object Fevent_x_pixel (Lisp_Object event); | |
787 Lisp_Object Fevent_y_pixel (Lisp_Object event); | |
788 | |
789 extern Lisp_Object QKbackspace, QKtab, QKlinefeed, QKreturn; | |
790 extern Lisp_Object QKescape, QKspace, QKdelete, QKnosymbol; | |
791 | |
792 | |
793 /* Defined in extents.c */ | |
794 Lisp_Object Fextentp (Lisp_Object obj); | |
795 Lisp_Object Fextent_object (Lisp_Object ext); | |
796 Lisp_Object Fextent_start_position (Lisp_Object ext); | |
797 Lisp_Object Fextent_end_position (Lisp_Object ext); | |
798 Lisp_Object Fextent_length (Lisp_Object ext); | |
799 Lisp_Object Fmake_extent (Lisp_Object from, Lisp_Object to, | |
800 Lisp_Object buffer); | |
801 Lisp_Object Fset_extent_endpoints (Lisp_Object, Lisp_Object, | |
802 Lisp_Object, Lisp_Object); | |
803 Lisp_Object Fdelete_extent (Lisp_Object extent); | |
804 Lisp_Object Fdetach_extent (Lisp_Object); | |
805 Lisp_Object Fmap_extents (Lisp_Object function, | |
806 Lisp_Object buffer, | |
807 Lisp_Object from, Lisp_Object to, | |
808 Lisp_Object maparg, | |
809 Lisp_Object flags, | |
810 Lisp_Object property, | |
811 Lisp_Object value); | |
812 Lisp_Object Fextent_at (Lisp_Object pos, Lisp_Object buffer, | |
813 Lisp_Object flag, Lisp_Object before, | |
814 Lisp_Object at_flag); | |
815 Lisp_Object Fextent_face (Lisp_Object); | |
816 Lisp_Object Fset_extent_face (Lisp_Object, Lisp_Object); | |
817 Lisp_Object Fset_extent_begin_glyph (Lisp_Object extent, | |
818 Lisp_Object begin_glyph, | |
819 Lisp_Object layout); | |
820 Lisp_Object Fset_extent_end_glyph (Lisp_Object extent_obj, | |
821 Lisp_Object glyph, | |
822 Lisp_Object layout); | |
823 Lisp_Object Fset_extent_begin_glyph_layout (Lisp_Object extent, | |
824 Lisp_Object layout); | |
825 Lisp_Object Fset_extent_end_glyph_layout (Lisp_Object extent, | |
826 Lisp_Object layout); | |
827 Lisp_Object Fextent_begin_glyph_layout (Lisp_Object extent); | |
828 Lisp_Object Fextent_end_glyph_layout (Lisp_Object extent); | |
829 Lisp_Object Fset_extent_priority (Lisp_Object extent, Lisp_Object pri); | |
830 Lisp_Object Fset_extent_property (Lisp_Object,Lisp_Object,Lisp_Object); | |
831 Lisp_Object Fextent_property (Lisp_Object extent, Lisp_Object, | |
832 Lisp_Object defalt); | |
833 Lisp_Object Fextent_properties (Lisp_Object extent); | |
834 Lisp_Object Fforce_highlight_extent (Lisp_Object extent, | |
835 Lisp_Object flag); | |
836 Lisp_Object Fhighlight_extent (Lisp_Object extent, Lisp_Object flag); | |
837 Lisp_Object Fset_extent_parent (Lisp_Object, Lisp_Object); | |
838 | |
839 Lisp_Object Fnext_single_property_change (Lisp_Object pos, | |
840 Lisp_Object prop, | |
841 Lisp_Object buffer, | |
842 Lisp_Object limit); | |
843 Lisp_Object Fprevious_single_property_change (Lisp_Object pos, | |
844 Lisp_Object prop, | |
845 Lisp_Object buffer, | |
846 Lisp_Object limit); | |
847 Lisp_Object Fput_text_property (Lisp_Object start, | |
848 Lisp_Object end, | |
849 Lisp_Object prop, | |
850 Lisp_Object value, | |
851 Lisp_Object object); | |
852 extern Lisp_Object Qdetached, Qdestroyed, Qbegin_glyph, Qend_glyph; | |
853 extern Lisp_Object Qstart_open, Qend_open, Qread_only; | |
854 extern Lisp_Object Qunique, Qduplicable; | |
855 extern Lisp_Object Qoutside_margin, Qinside_margin, Qwhitespace; | |
856 extern Lisp_Object Qglyph_invisible; | |
857 | |
858 | |
859 /* Defined in faces.c */ | |
860 extern Lisp_Object Vbuilt_in_face_specifiers; | |
861 Lisp_Object Fface_name (Lisp_Object); | |
862 | |
863 | |
864 /* Defined in fileio.c */ | |
865 extern Lisp_Object Qfile_name_handler_alist; | |
866 extern Lisp_Object Qfile_error; | |
867 Lisp_Object Ffile_name_as_directory (Lisp_Object fn); | |
868 Lisp_Object Fexpand_file_name (Lisp_Object fn, Lisp_Object def); | |
869 Lisp_Object Ffile_name_nondirectory (Lisp_Object fn); | |
870 Lisp_Object Fsubstitute_in_file_name (Lisp_Object fn); | |
871 Lisp_Object Ffile_symlink_p (Lisp_Object fn); | |
872 Lisp_Object Ffile_truename (Lisp_Object name, Lisp_Object def); | |
873 Lisp_Object Ffile_name_nondirectory (Lisp_Object fn); | |
874 Lisp_Object Ffile_name_directory (Lisp_Object fn); | |
875 Lisp_Object Fdirectory_file_name (Lisp_Object fn); | |
876 Lisp_Object Ffile_directory_p (Lisp_Object fn); | |
877 Lisp_Object Ffile_readable_p (Lisp_Object fn); | |
878 Lisp_Object Ffile_name_absolute_p (Lisp_Object fn); | |
879 Lisp_Object Ffile_exists_p (Lisp_Object fn); | |
880 Lisp_Object Ffile_executable_p (Lisp_Object filename); | |
881 Lisp_Object Ffile_accessible_directory_p (Lisp_Object fn); | |
882 void record_auto_save (void); | |
883 void force_auto_save_soon (void); | |
884 Lisp_Object Ffind_file_name_handler (Lisp_Object filename, | |
885 Lisp_Object operation); | |
886 DECLARE_DOESNT_RETURN (report_file_error (CONST char *string, | |
887 Lisp_Object data)); | |
888 void maybe_report_file_error (CONST char *string, Lisp_Object data, | |
889 Lisp_Object class, Error_behavior errb); | |
890 DECLARE_DOESNT_RETURN (signal_file_error (CONST char *string, | |
891 Lisp_Object data)); | |
892 void maybe_signal_file_error (CONST char *string, Lisp_Object data, | |
893 Lisp_Object class, Error_behavior errb); | |
894 DECLARE_DOESNT_RETURN (signal_double_file_error (CONST char *string1, | |
895 CONST char *string2, | |
896 Lisp_Object data)); | |
897 void maybe_signal_double_file_error (CONST char *string1, CONST char *string2, | |
898 Lisp_Object data, Lisp_Object class, | |
899 Error_behavior errb); | |
900 DECLARE_DOESNT_RETURN (signal_double_file_error_2 (CONST char *string1, | |
901 CONST char *string2, | |
902 Lisp_Object data1, | |
903 Lisp_Object data2)); | |
904 void maybe_signal_double_file_error_2 (CONST char *string1, | |
905 CONST char *string2, Lisp_Object data1, | |
906 Lisp_Object data2, Lisp_Object class, | |
907 Error_behavior errb); | |
908 Lisp_Object expand_and_dir_to_file (Lisp_Object fn, Lisp_Object def); | |
909 Lisp_Object Finsert_file_contents_internal (Lisp_Object filename, | |
910 Lisp_Object visit, | |
911 Lisp_Object beg, | |
912 Lisp_Object end, | |
913 Lisp_Object replace); | |
914 Lisp_Object Fdo_auto_save (Lisp_Object nomsg, Lisp_Object current_only); | |
915 Lisp_Object Fverify_visited_file_modtime (Lisp_Object buffer); | |
916 Lisp_Object Funhandled_file_name_directory (Lisp_Object filename); | |
917 Lisp_Object Fset_buffer_modtime (Lisp_Object buf, Lisp_Object in_time); | |
918 int read_allowing_quit (int fildes, void *buf, unsigned int nbyte); | |
919 int write_allowing_quit (int fildes, CONST void *buf, | |
920 unsigned int nbyte); | |
921 int internal_delete_file (Lisp_Object filename); | |
922 | |
923 | |
924 /* Defined in filelock.c */ | |
925 void lock_file (Lisp_Object fn); | |
926 void unlock_file (Lisp_Object fn); | |
927 void unlock_all_files (void); | |
928 Lisp_Object Flock_buffer (Lisp_Object fn); | |
929 Lisp_Object Funlock_buffer (void); | |
930 void unlock_buffer (struct buffer *buffer); | |
931 Lisp_Object Ffile_locked_p (Lisp_Object fn); | |
932 | |
933 | |
934 /* Defined in filemode.c */ | |
935 void filemodestring (struct stat *statp, char *str); | |
936 | |
937 | |
938 /* Defined in floatfns.c */ | |
939 double extract_float (Lisp_Object); | |
940 Lisp_Object Ffloat (Lisp_Object n); | |
941 | |
942 | |
943 /* Defined in fns.c */ | |
944 Lisp_Object list_sort (Lisp_Object list, | |
945 Lisp_Object lisp_arg, | |
946 int (*pred_fn) (Lisp_Object first, | |
947 Lisp_Object second, | |
948 Lisp_Object lisp_arg)); | |
949 Lisp_Object Fsort (Lisp_Object list, | |
950 Lisp_Object pred); | |
951 Lisp_Object merge (Lisp_Object org_l1, Lisp_Object org_l2, | |
952 Lisp_Object pred); | |
953 | |
954 extern Lisp_Object Qstring_lessp, Qidentity, Qyes_or_no_p; | |
955 extern Lisp_Object Vfeatures; | |
956 Lisp_Object Fidentity (Lisp_Object x); | |
957 Lisp_Object Frandom (Lisp_Object arg); | |
958 Lisp_Object Flength (Lisp_Object seq); | |
959 Lisp_Object Fstring_equal (Lisp_Object s1, Lisp_Object s2); | |
960 Lisp_Object Fstring_lessp (Lisp_Object s1, Lisp_Object s2); | |
961 Lisp_Object string_getprop (struct Lisp_String *s, | |
962 Lisp_Object property, | |
963 Lisp_Object defalt); | |
964 void string_putprop (struct Lisp_String *s, Lisp_Object property, | |
965 Lisp_Object value); | |
966 void bump_string_modiff (Lisp_Object str); | |
967 Lisp_Object Fappend (int nargs, Lisp_Object *args); | |
968 Lisp_Object Fconcat (int nargs, Lisp_Object *args); | |
969 Lisp_Object Fvconcat (int nargs, Lisp_Object *args); | |
970 Lisp_Object Fcopy_sequence (Lisp_Object seq); | |
971 Lisp_Object Fsubstring (Lisp_Object str, Lisp_Object s, Lisp_Object e); | |
972 Lisp_Object Fnthcdr (Lisp_Object n, Lisp_Object list); | |
973 Lisp_Object Fnth (Lisp_Object n, Lisp_Object list); | |
974 Lisp_Object Fmember (Lisp_Object elt, Lisp_Object list); | |
975 Lisp_Object Fmemq (Lisp_Object elt, Lisp_Object list); | |
976 Lisp_Object memq_no_quit (Lisp_Object elt, Lisp_Object list); | |
977 Lisp_Object Fassoc (Lisp_Object elt, Lisp_Object list); | |
978 Lisp_Object assoc_no_quit (Lisp_Object key, Lisp_Object alist); | |
979 Lisp_Object Fassq (Lisp_Object key, Lisp_Object alist); | |
980 Lisp_Object assq_no_quit (Lisp_Object key, Lisp_Object alist); | |
981 Lisp_Object Frassoc (Lisp_Object key, Lisp_Object alist); | |
982 Lisp_Object Frassq (Lisp_Object key, Lisp_Object alist); | |
983 Lisp_Object rassq_no_quit (Lisp_Object key, Lisp_Object alist); | |
984 Lisp_Object Fdelete (Lisp_Object elt, Lisp_Object list); | |
985 Lisp_Object Fdelq (Lisp_Object elt, Lisp_Object list); | |
986 Lisp_Object delq_no_quit (Lisp_Object elt, Lisp_Object list); | |
987 Lisp_Object delq_no_quit_and_free_cons (Lisp_Object elt, Lisp_Object list); | |
988 Lisp_Object Fremassoc (Lisp_Object elt, Lisp_Object list); | |
989 Lisp_Object remassoc_no_quit (Lisp_Object key, Lisp_Object list); | |
990 Lisp_Object Fremassq (Lisp_Object key, Lisp_Object alist); | |
991 Lisp_Object remassq_no_quit (Lisp_Object key, Lisp_Object alist); | |
992 Lisp_Object Fremrassoc (Lisp_Object key, Lisp_Object alist); | |
993 Lisp_Object Fremrassq (Lisp_Object key, Lisp_Object alist); | |
994 Lisp_Object remrassq_no_quit (Lisp_Object key, Lisp_Object alist); | |
995 Lisp_Object Freverse (Lisp_Object list), Fnreverse (Lisp_Object list); | |
996 Lisp_Object Fget (Lisp_Object sym, Lisp_Object prop, Lisp_Object def); | |
997 Lisp_Object Fput (Lisp_Object sym, Lisp_Object prop, Lisp_Object val); | |
998 | |
999 void pure_put (Lisp_Object sym, Lisp_Object prop, Lisp_Object val); | |
1000 Lisp_Object Fremprop (Lisp_Object sym, Lisp_Object prop); | |
1001 int plists_differ (Lisp_Object a, Lisp_Object b, int nil_means_not_present, | |
1002 int laxp, int depth); | |
1003 Lisp_Object internal_plist_get (Lisp_Object plist, Lisp_Object property); | |
1004 void internal_plist_put (Lisp_Object *plist, Lisp_Object property, | |
1005 Lisp_Object value); | |
1006 int internal_remprop (Lisp_Object *plist, Lisp_Object property); | |
1007 Lisp_Object external_plist_get (Lisp_Object *plist, Lisp_Object property, | |
1008 int laxp, Error_behavior errb); | |
1009 void external_plist_put (Lisp_Object *plist, Lisp_Object property, | |
1010 Lisp_Object value, int laxp, Error_behavior errb); | |
1011 int external_remprop (Lisp_Object *plist, Lisp_Object property, | |
1012 int laxp, Error_behavior errb); | |
1013 Lisp_Object Fequal (Lisp_Object one, Lisp_Object two); | |
1014 int internal_equal (Lisp_Object, Lisp_Object, int depth); | |
1015 Lisp_Object Ffillarray (Lisp_Object array, Lisp_Object init); | |
1016 Lisp_Object Fnconc (int nargs, Lisp_Object *args); | |
1017 Lisp_Object Fmapcar (Lisp_Object fn, Lisp_Object seq); | |
1018 Lisp_Object Ffeaturep (Lisp_Object name); | |
1019 Lisp_Object Frequire (Lisp_Object name, Lisp_Object filename); | |
1020 Lisp_Object Fprovide (Lisp_Object name); | |
1021 Lisp_Object concat2 (Lisp_Object s1, Lisp_Object s2); | |
1022 Lisp_Object concat3 (Lisp_Object s1, Lisp_Object s2, Lisp_Object s3); | |
1023 Lisp_Object vconcat2 (Lisp_Object s1, Lisp_Object s2); | |
1024 Lisp_Object vconcat3 (Lisp_Object s1, Lisp_Object s2, Lisp_Object s3); | |
1025 Lisp_Object nconc2 (Lisp_Object l1, Lisp_Object l2); | |
1026 Lisp_Object Fcopy_alist (Lisp_Object alist); | |
1027 Lisp_Object Fcopy_tree (Lisp_Object arg, Lisp_Object vecp); | |
1028 Lisp_Object Fplist_put (Lisp_Object plist, Lisp_Object prop, Lisp_Object val); | |
1029 Lisp_Object Fplist_get (Lisp_Object plist, Lisp_Object prop, | |
1030 Lisp_Object defalt); | |
1031 Lisp_Object Fcanonicalize_plist (Lisp_Object plist, | |
1032 Lisp_Object infected_with_hemorrhagic_fever); | |
1033 Lisp_Object Flax_plist_put (Lisp_Object plist, Lisp_Object prop, | |
1034 Lisp_Object val); | |
1035 Lisp_Object Flax_plist_get (Lisp_Object plist, Lisp_Object prop, | |
1036 Lisp_Object defalt); | |
1037 Lisp_Object Flax_plist_remprop (Lisp_Object plist, Lisp_Object prop); | |
1038 Lisp_Object Fcanonicalize_lax_plist (Lisp_Object plist, | |
1039 Lisp_Object | |
1040 infected_with_hemorrhagic_fever); | |
1041 Lisp_Object Fdestructive_alist_to_plist (Lisp_Object alist); | |
1042 Lisp_Object Fcheck_valid_plist (Lisp_Object); | |
1043 Lisp_Object Fvalid_plist_p (Lisp_Object); | |
1044 void check_losing_bytecode (CONST char *function, Lisp_Object seq); | |
1045 | |
1046 | |
1047 /* Defined in font-lock.c */ | |
1048 extern Lisp_Object Qcomment, Qblock_comment; | |
1049 extern Lisp_Object Qbeginning_of_defun, Qend_of_defun; | |
1050 | |
1051 | |
1052 /* Defined in frame.c */ | |
1053 Lisp_Object Fframep (Lisp_Object obj); | |
1054 Lisp_Object Fframe_live_p (Lisp_Object obj); | |
1055 Lisp_Object Fselect_frame (Lisp_Object scr); | |
1056 Lisp_Object Fselected_frame (Lisp_Object device); | |
1057 Lisp_Object Fmake_frame (Lisp_Object props, Lisp_Object device); | |
1058 Lisp_Object Fwindow_frame (Lisp_Object window); | |
1059 Lisp_Object Fframe_root_window (Lisp_Object frame); | |
1060 Lisp_Object Fframe_selected_window (Lisp_Object frame); | |
1061 Lisp_Object Fframe_list (Lisp_Object device); | |
1062 Lisp_Object Fframe_name (Lisp_Object frame); | |
1063 Lisp_Object Fnext_frame (Lisp_Object frame, Lisp_Object miniframe, | |
1064 Lisp_Object device); | |
1065 Lisp_Object Fmouse_position (Lisp_Object device); | |
1066 Lisp_Object Fmouse_pixel_position (Lisp_Object device); | |
1067 Lisp_Object Fset_mouse_position (Lisp_Object window, | |
1068 Lisp_Object x, Lisp_Object y); | |
1069 Lisp_Object Fset_mouse_pixel_position (Lisp_Object window, | |
1070 Lisp_Object x, Lisp_Object y); | |
1071 Lisp_Object Fmake_frame_visible (Lisp_Object frame); | |
1072 Lisp_Object Fmake_frame_invisible (Lisp_Object frame, | |
1073 Lisp_Object ignored); | |
1074 Lisp_Object Ficonify_frame (Lisp_Object frame); | |
1075 Lisp_Object Fdeiconify_frame (Lisp_Object frame); | |
1076 Lisp_Object Fframe_visible_p (Lisp_Object frame); | |
1077 Lisp_Object Fframe_iconified_p (Lisp_Object frame); | |
1078 Lisp_Object Fvisible_frame_list (Lisp_Object device); | |
1079 Lisp_Object Fset_frame_height (Lisp_Object frame, | |
1080 Lisp_Object rows, Lisp_Object pretend); | |
1081 Lisp_Object Fset_frame_width (Lisp_Object frame, | |
1082 Lisp_Object cols, Lisp_Object pretend); | |
1083 Lisp_Object Fset_frame_size (Lisp_Object frame, | |
1084 Lisp_Object cols, Lisp_Object rows, | |
1085 Lisp_Object pretend); | |
1086 Lisp_Object Fset_frame_position (Lisp_Object frame, | |
1087 Lisp_Object xoffset, | |
1088 Lisp_Object yoffset); | |
1089 Lisp_Object Fdelete_frame (Lisp_Object frame, Lisp_Object force); | |
1090 Lisp_Object Fset_frame_properties (Lisp_Object frame, Lisp_Object plist); | |
1091 Lisp_Object Fframe_property (Lisp_Object frame, Lisp_Object property, | |
1092 Lisp_Object defalt); | |
1093 Lisp_Object Fset_frame_pointer (Lisp_Object frame, Lisp_Object pointer); | |
1094 | |
1095 extern Lisp_Object Vcreate_frame_hook, Qcreate_frame_hook; | |
1096 extern Lisp_Object Vmouse_enter_frame_hook, Qmouse_enter_frame_hook; | |
1097 extern Lisp_Object Vmouse_leave_frame_hook, Qmouse_leave_frame_hook; | |
1098 extern Lisp_Object Vmap_frame_hook, Qmap_frame_hook; | |
1099 extern Lisp_Object Vunmap_frame_hook, Qunmap_frame_hook; | |
1100 extern Lisp_Object Vmouse_motion_handler; | |
1101 extern Lisp_Object Vsynchronize_minibuffers; | |
1102 | |
1103 extern Lisp_Object Qdrag_and_drop_functions; | |
1104 | |
1105 extern Lisp_Object Qframep, Qframe_live_p, Qdelete_frame; | |
1106 extern Lisp_Object Qselect_frame_hook, Qdeselect_frame_hook; | |
1107 extern Lisp_Object Qsynchronize_minibuffers; | |
1108 extern Lisp_Object Qbuffer_predicate; | |
1109 | |
1110 extern Lisp_Object Qminibuffer; | |
1111 extern Lisp_Object Qunsplittable; | |
1112 extern Lisp_Object Qinternal_border_width; | |
1113 extern Lisp_Object Qtop_toolbar_shadow_color; | |
1114 extern Lisp_Object Qbottom_toolbar_shadow_color; | |
1115 extern Lisp_Object Qbackground_toolbar_color; | |
1116 extern Lisp_Object Qtop_toolbar_shadow_pixmap; | |
1117 extern Lisp_Object Qbottom_toolbar_shadow_pixmap; | |
1118 extern Lisp_Object Qtoolbar_shadow_thickness; | |
1119 extern Lisp_Object Qscrollbar_placement; | |
1120 extern Lisp_Object Qinter_line_space; | |
1121 extern Lisp_Object Qvisual_bell; | |
1122 extern Lisp_Object Qbell_volume; | |
1123 extern Lisp_Object Qpointer_background; | |
1124 extern Lisp_Object Qpointer_color; | |
1125 extern Lisp_Object Qtext_pointer; | |
1126 extern Lisp_Object Qspace_pointer; | |
1127 extern Lisp_Object Qmodeline_pointer; | |
1128 extern Lisp_Object Qgc_pointer; | |
1129 extern Lisp_Object Qinitially_unmapped; | |
1130 extern Lisp_Object Quse_backing_store; | |
1131 extern Lisp_Object Qborder_color; | |
1132 extern Lisp_Object Qborder_width; | |
1133 | |
1134 extern Lisp_Object Qvisible, Qiconic, Qinvisible, Qvisible_iconic; | |
1135 extern Lisp_Object Qinvisible_iconic; | |
1136 extern Lisp_Object Qnomini, Qvisible_nomini, Qiconic_nomini, Qinvisible_nomini; | |
1137 extern Lisp_Object Qvisible_iconic_nomini, Qinvisible_iconic_nomini; | |
1138 | |
1139 | |
1140 | |
1141 /* Defined in frame-x.c */ | |
1142 Lisp_Object Fx_window_id (Lisp_Object frame); | |
1143 extern Lisp_Object Qpopup; | |
1144 | |
1145 | |
1146 /* Defined in general.c */ | |
1147 extern Lisp_Object Qactually_requested; | |
1148 extern Lisp_Object Qafter; | |
1149 extern Lisp_Object Qall; | |
1150 extern Lisp_Object Qassoc; | |
1151 extern Lisp_Object Qat; | |
1152 extern Lisp_Object Qautodetect; | |
1153 extern Lisp_Object Qbad_variable; | |
1154 extern Lisp_Object Qbefore; | |
1155 extern Lisp_Object Qbinary; | |
1156 extern Lisp_Object Qblack; | |
1157 extern Lisp_Object Qboolean; | |
1158 extern Lisp_Object Qbottom; | |
1159 extern Lisp_Object Qbuffer; | |
1160 extern Lisp_Object Qbutton; | |
1161 extern Lisp_Object Qcategory; | |
1162 extern Lisp_Object Qcase; | |
1163 extern Lisp_Object Qchannel; | |
1164 extern Lisp_Object Qchar; | |
1165 extern Lisp_Object Qcharacter; | |
1166 extern Lisp_Object Qchars; | |
1167 extern Lisp_Object Qcolor; | |
1168 extern Lisp_Object Qcolumns; | |
1169 extern Lisp_Object Qcommand; | |
1170 extern Lisp_Object Qconsole; | |
1171 extern Lisp_Object Qcritical; | |
1172 extern Lisp_Object Qdata; | |
1173 extern Lisp_Object Qdead; | |
1174 extern Lisp_Object Qdelete; | |
1175 extern Lisp_Object Qdelq; | |
1176 extern Lisp_Object Qdefault; | |
1177 extern Lisp_Object Qdevice; | |
1178 extern Lisp_Object Qdimension; | |
1179 extern Lisp_Object Qdisplay; | |
1180 extern Lisp_Object Qdoc_string; | |
1181 extern Lisp_Object Qdynarr_overhead; | |
1182 extern Lisp_Object Qeq; | |
1183 extern Lisp_Object Qequal; | |
1184 extern Lisp_Object Qeql; | |
1185 extern Lisp_Object Qeval; | |
1186 extern Lisp_Object Qextents; | |
1187 extern Lisp_Object Qface; | |
1188 extern Lisp_Object Qfont; | |
1189 extern Lisp_Object Qframe; | |
1190 extern Lisp_Object Qfunction; | |
1191 extern Lisp_Object Qgap_overhead; | |
1192 extern Lisp_Object Qgeneric; | |
1193 extern Lisp_Object Qgeometry; | |
1194 extern Lisp_Object Qglobal; | |
1195 extern Lisp_Object Qheight; | |
1196 extern Lisp_Object Qhighlight; | |
1197 extern Lisp_Object Qid; | |
1198 extern Lisp_Object Qimage; | |
1199 extern Lisp_Object Qinfo; | |
1200 extern Lisp_Object Qinherit; | |
1201 extern Lisp_Object Qinteger; | |
1202 extern Lisp_Object Qinternal; | |
1203 extern Lisp_Object Qkey; | |
1204 extern Lisp_Object Qkey_assoc; | |
1205 extern Lisp_Object Qkeyboard; | |
1206 extern Lisp_Object Qkeymap; | |
1207 extern Lisp_Object Qleft; | |
1208 extern Lisp_Object Qlist; | |
1209 extern Lisp_Object Qmagic; | |
1210 extern Lisp_Object Qmalloc_overhead; | |
1211 extern Lisp_Object Qmarkers; | |
1212 extern Lisp_Object Qmax; | |
1213 extern Lisp_Object Qmemory; | |
1214 extern Lisp_Object Qmenubar; | |
1215 extern Lisp_Object Qmessage; | |
1216 extern Lisp_Object Qminus; | |
1217 extern Lisp_Object Qmodifiers; | |
1218 extern Lisp_Object Qmotion; | |
1219 extern Lisp_Object Qname; | |
1220 extern Lisp_Object Qnone; | |
1221 extern Lisp_Object Qnothing; | |
1222 extern Lisp_Object Qnotice; | |
1223 extern Lisp_Object Qobject; | |
1224 extern Lisp_Object Qonly; | |
1225 extern Lisp_Object Qother; | |
1226 extern Lisp_Object Qpath; | |
1227 extern Lisp_Object Qpointer; | |
1228 extern Lisp_Object Qprint; | |
1229 extern Lisp_Object Qprocess; | |
1230 extern Lisp_Object Qprovide; | |
1231 extern Lisp_Object Qrassoc; | |
1232 extern Lisp_Object Qrassq; | |
1233 extern Lisp_Object Qrequire; | |
1234 extern Lisp_Object Qresource; | |
1235 extern Lisp_Object Qreturn; | |
1236 extern Lisp_Object Qreverse; | |
1237 extern Lisp_Object Qright; | |
1238 extern Lisp_Object Qsearch; | |
1239 extern Lisp_Object Qsimple; | |
1240 extern Lisp_Object Qspace; | |
1241 extern Lisp_Object Qspecifier; | |
1242 extern Lisp_Object Qstream; | |
1243 extern Lisp_Object Qstring; | |
1244 extern Lisp_Object Qsymbol; | |
1245 extern Lisp_Object Qsyntax; | |
1246 extern Lisp_Object Qtext; | |
1247 extern Lisp_Object Qtimeout; | |
1248 extern Lisp_Object Qtimestamp; | |
1249 extern Lisp_Object Qtoolbar; | |
1250 extern Lisp_Object Qtop; | |
1251 extern Lisp_Object Qtty; | |
1252 extern Lisp_Object Qtype; | |
1253 extern Lisp_Object Qundefined; | |
1254 extern Lisp_Object Qunimplemented; | |
1255 extern Lisp_Object Qvalue_assoc; | |
1256 extern Lisp_Object Qvector; | |
1257 extern Lisp_Object Qwarning; | |
1258 extern Lisp_Object Qwhite; | |
1259 extern Lisp_Object Qwidth; | |
1260 extern Lisp_Object Qwindow; | |
1261 extern Lisp_Object Qwindow_system; | |
1262 extern Lisp_Object Qx; | |
1263 extern Lisp_Object Qy; | |
1264 | |
1265 | |
1266 /* Defined in getloadavg.c */ | |
1267 int getloadavg (double loadavg[], int nelem); | |
1268 | |
1269 | |
1270 /* Defined in glyphs.c */ | |
1271 Lisp_Object Fmake_glyph_internal (Lisp_Object type); | |
1272 Lisp_Object Fmake_image_instance (Lisp_Object data, | |
1273 Lisp_Object device, | |
1274 Lisp_Object force_mono, | |
1275 Lisp_Object no_error); | |
1276 Lisp_Object Fimage_instance_p (Lisp_Object obj); | |
1277 Lisp_Object Fimage_instance_type (Lisp_Object image_instance); | |
1278 Lisp_Object Fglyph_type (Lisp_Object glyph); | |
1279 extern Lisp_Object Qnothing, Qmono_pixmap, Qcolor_pixmap; | |
1280 extern Lisp_Object Qsubwindow; | |
1281 extern Lisp_Object Qformatted_string; | |
1282 extern Lisp_Object Qicon; | |
1283 extern Lisp_Object Qconst_glyph_variable; | |
1284 Error_behavior decode_error_behavior_flag (Lisp_Object no_error); | |
1285 Lisp_Object encode_error_behavior_flag (Error_behavior errb); | |
1286 | |
1287 | |
1288 /* Defined in glyphs-x.c */ | |
1289 Lisp_Object Fcolorize_image_instance (Lisp_Object, Lisp_Object, | |
1290 Lisp_Object); | |
1291 | |
1292 | |
1293 /* Defined in indent.c */ | |
1294 Lisp_Object Fvertical_motion (Lisp_Object lines, Lisp_Object window); | |
1295 Lisp_Object Findent_to (Lisp_Object col, Lisp_Object mincol, | |
1296 Lisp_Object buffer); | |
1297 Lisp_Object Fcurrent_column (Lisp_Object buffer); | |
1298 int bi_spaces_at_point (struct buffer *b, Bytind pos); | |
1299 int column_at_point (struct buffer *buf, Bufpos pos, int cur_col); | |
1300 int current_column (struct buffer *buf); | |
1301 void invalidate_current_column (void); | |
1302 Bufpos vmotion (struct window *w, Bufpos orig, int vtarget, | |
1303 int *ret_vpos); | |
1304 | |
1305 | |
1306 /* Defined in intl.c */ | |
1307 Lisp_Object Fignore_defer_gettext (Lisp_Object obj); | |
1308 Lisp_Object Fgettext (Lisp_Object string); | |
1309 Lisp_Object Fdgettext (Lisp_Object domain, Lisp_Object string); | |
1310 extern Lisp_Object Qdefer_gettext; | |
1311 #ifdef I18N3 | |
1312 extern Lisp_Object Vfile_domain; | |
1313 #endif | |
1314 | |
1315 | |
1316 /* Defined in keymap.c */ | |
1317 Lisp_Object Fcurrent_local_map (Lisp_Object buffer); | |
1318 Lisp_Object Fkeymapp (Lisp_Object); | |
1319 Lisp_Object Fmake_sparse_keymap (Lisp_Object); | |
1320 Lisp_Object Fkeymap_fullness (Lisp_Object keymap); | |
1321 Lisp_Object Fkey_description (Lisp_Object key); | |
1322 Lisp_Object Fsingle_key_description (Lisp_Object key); | |
1323 Lisp_Object Ftext_char_description (Lisp_Object c); | |
1324 Lisp_Object Fdefine_key (Lisp_Object keymap, Lisp_Object key, | |
1325 Lisp_Object definition); | |
1326 extern Lisp_Object Qmodeline_map; | |
1327 extern Lisp_Object Vsingle_space_string; | |
1328 extern Lisp_Object Qcontrol, Qctrl, Qmeta, Qsuper, Qhyper, Qalt, Qshift; | |
1329 extern Lisp_Object Qkeymap, Qkeymapp; | |
1330 void where_is_to_char (Lisp_Object definition, char *buffer); | |
1331 | |
1332 | |
1333 /* Defined in lread.c */ | |
1334 extern Lisp_Object Qvariable_documentation, Qstandard_input, Qread_char; | |
1335 extern Lisp_Object Qvariable_domain; /* I18N3 */ | |
1336 extern Lisp_Object Qload; | |
1337 extern Lisp_Object Vstandard_input; | |
1338 extern Lisp_Object Vvalues; | |
1339 extern Lisp_Object Vcurrent_compiled_function_annotation; | |
1340 extern Lisp_Object Vload_file_name_internal; | |
1341 extern Lisp_Object Vload_file_name_internal_the_purecopy; | |
1342 Lisp_Object Fread (Lisp_Object readcharfun); | |
1343 Lisp_Object Fread_from_string (Lisp_Object string, | |
1344 Lisp_Object start, Lisp_Object end); | |
1345 Lisp_Object Fload_internal (Lisp_Object filename, | |
1346 Lisp_Object missing_ok, | |
1347 Lisp_Object nomessage, | |
1348 Lisp_Object nosuffix); | |
1349 void close_load_descs (void); | |
1350 int locate_file (Lisp_Object path, | |
1351 Lisp_Object str, CONST char *suffix, | |
1352 Lisp_Object *storeptr, int mode); | |
1353 Lisp_Object Flocate_file_clear_hashing (Lisp_Object path); | |
1354 int isfloat_string (CONST char *); | |
1355 | |
1356 /* Well, I've decided to enable this. -- ben */ | |
1357 #define LOADHIST | |
1358 | |
1359 #ifdef LOADHIST /* this is just a stupid idea */ | |
1360 #define LOADHIST_ATTACH(x) \ | |
1361 do { if (initialized) Vcurrent_load_list = Fcons (x, Vcurrent_load_list); } \ | |
1362 while (0) | |
1363 extern Lisp_Object Vcurrent_load_list; | |
1364 extern Lisp_Object Vload_history; | |
1365 #else /*! LOADHIST */ | |
1366 # define LOADHIST_ATTACH(x) | |
1367 #endif /*! LOADHIST */ | |
1368 | |
1369 | |
1370 /* Defined in macros.c */ | |
1371 Lisp_Object Fexecute_kbd_macro (Lisp_Object macro, | |
1372 Lisp_Object prefixarg); | |
1373 | |
1374 | |
1375 /* Defined in marker.c */ | |
1376 Bytind bi_marker_position (Lisp_Object marker); | |
1377 Bufpos marker_position (Lisp_Object marker); | |
1378 void set_bi_marker_position (Lisp_Object marker, Bytind pos); | |
1379 void set_marker_position (Lisp_Object marker, Bufpos pos); | |
1380 void unchain_marker (Lisp_Object marker); | |
1381 Lisp_Object Fset_marker (Lisp_Object marker, | |
1382 Lisp_Object pos, Lisp_Object buffer); | |
1383 Lisp_Object Fmarker_position (Lisp_Object m); | |
1384 Lisp_Object Fmarker_buffer (Lisp_Object m); | |
1385 Lisp_Object Fcopy_marker (Lisp_Object m, Lisp_Object type); | |
1386 Lisp_Object noseeum_copy_marker (Lisp_Object m, Lisp_Object type); | |
1387 Lisp_Object set_marker_restricted (Lisp_Object marker, | |
1388 Lisp_Object pos, Lisp_Object buf); | |
1389 #ifdef MEMORY_USAGE_STATS | |
1390 int compute_buffer_marker_usage (struct buffer *b, | |
1391 struct overhead_stats *ovstats); | |
1392 #endif | |
1393 | |
1394 | |
1395 /* Defined in menubar.c */ | |
1396 Lisp_Object Fpopup_menu (Lisp_Object menu_desc, Lisp_Object event); | |
1397 extern Lisp_Object Qcurrent_menubar; | |
1398 extern Lisp_Object Qactivate_menubar_hook; | |
1399 extern Lisp_Object Qmenu_no_selection_hook; | |
1400 extern Lisp_Object Vactivate_menubar_hook; | |
1401 extern int popup_menu_up_p; | |
1402 extern Lisp_Object Qmouse_event_p; /* events.c */ | |
1403 extern Lisp_Object Q_active, Q_suffix, Q_keys, Q_style, Q_selected; | |
1404 extern Lisp_Object Q_filter, Q_config, Q_included; | |
1405 extern Lisp_Object Qtoggle, Qradio; | |
1406 extern Lisp_Object Vmenubar_configuration; | |
1407 extern int menubar_show_keybindings; | |
1408 extern Lisp_Object Vblank_menubar; | |
1409 extern int popup_menu_titles; | |
1410 | |
1411 | |
1412 /* Defined in minibuf.c */ | |
1413 extern int minibuf_level; | |
1414 Charcount scmp_1 (CONST Bufbyte *s1, CONST Bufbyte *s2, Charcount len, | |
1415 int ignore_case); | |
1416 #define scmp(s1, s2, len) scmp_1 (s1, s2, len, completion_ignore_case) | |
1417 Lisp_Object Fread_from_minibuffer (Lisp_Object prompt, | |
1418 Lisp_Object init, | |
1419 Lisp_Object keymap, | |
1420 Lisp_Object read_crock, | |
1421 Lisp_Object hist); | |
1422 extern int completion_ignore_case; | |
1423 extern Lisp_Object Qcompletion_ignore_case; | |
1424 extern Lisp_Object Vcompletion_regexp_list; | |
1425 int regexp_ignore_completion_p (CONST Bufbyte *nonreloc, | |
1426 Lisp_Object reloc, Bytecount offset, | |
1427 Bytecount length); | |
1428 | |
1429 extern Lisp_Object Vminibuffer_zero; | |
1430 | |
1431 extern Lisp_Object Vecho_area_buffer; | |
1432 Lisp_Object clear_echo_area (struct frame *f, Lisp_Object label, | |
1433 int no_restore); | |
1434 Lisp_Object clear_echo_area_from_print (struct frame *f, | |
1435 Lisp_Object label, | |
1436 int no_restore); | |
1437 void echo_area_append (struct frame *f, CONST Bufbyte *nonreloc, | |
1438 Lisp_Object reloc, Bytecount offset, | |
1439 Bytecount length, Lisp_Object type); | |
1440 void echo_area_message (struct frame *f, CONST Bufbyte *nonreloc, | |
1441 Lisp_Object reloc, Bytecount offset, | |
1442 Bytecount length, Lisp_Object type); | |
1443 Lisp_Object echo_area_status (struct frame *f); | |
1444 int echo_area_active (struct frame *f); | |
1445 Lisp_Object echo_area_contents (struct frame *f); | |
1446 void message_internal (CONST Bufbyte *nonreloc, Lisp_Object reloc, | |
1447 Bytecount offset, Bytecount length); | |
1448 void message_append_internal (CONST Bufbyte *nonreloc, Lisp_Object reloc, | |
1449 Bytecount offset, Bytecount length); | |
1450 void message (CONST char *fmt, ...) PRINTF_ARGS (1, 2); | |
1451 void message_append (CONST char *fmt, ...) PRINTF_ARGS (1, 2); | |
1452 void message_no_translate (CONST char *fmt, ...) PRINTF_ARGS (1, 2); | |
1453 void clear_message (void); | |
1454 | |
1455 | |
1456 /* Defined in mocklisp.c */ | |
1457 extern Lisp_Object Vmocklisp_arguments, Qmocklisp, Qmocklisp_arguments; | |
1458 Lisp_Object ml_apply (Lisp_Object function, Lisp_Object args); | |
1459 | |
1460 | |
1461 | |
1462 | |
1463 /* Defined in objects-tty.c */ | |
1464 extern Lisp_Object Vtty_color_alist; | |
1465 #if 0 | |
1466 Lisp_Object Vtty_dynamic_color_fg; | |
1467 Lisp_Object Vtty_dynamic_color_bg; | |
1468 #endif | |
1469 | |
1470 | |
1471 /* Defined in print.c */ | |
1472 void write_string_to_stdio_stream (FILE *stream, struct console *con, | |
1473 CONST Bufbyte *str, Bytecount offset, | |
1474 Bytecount len, | |
1475 enum external_data_format fmt); | |
1476 extern Lisp_Object Vprin1_to_string_buffer; | |
1477 Lisp_Object Fprin1 (Lisp_Object obj, Lisp_Object printcharfun); | |
1478 Lisp_Object Fprinc (Lisp_Object obj, Lisp_Object printcharfun); | |
1479 Lisp_Object Fprint (Lisp_Object obj, Lisp_Object printcharfun); | |
1480 Lisp_Object Fprin1_to_string (Lisp_Object obj, Lisp_Object noescape); | |
1481 Lisp_Object Fterpri (Lisp_Object printcharfun); | |
1482 extern Lisp_Object Vstandard_output, Qstandard_output; | |
1483 extern Lisp_Object Qexternal_debugging_output; | |
1484 void debug_backtrace (void); | |
1485 void debug_short_backtrace (int length); | |
1486 void temp_output_buffer_setup (CONST char *bufname); | |
1487 void temp_output_buffer_show (Lisp_Object buf, Lisp_Object same_scrn); | |
1488 /* NOTE: Do not call this with the data of a Lisp_String. Use princ. | |
1489 * Note: stream should be defaulted before calling | |
1490 * (eg Qnil means stdout, not Vstandard_output, etc) */ | |
1491 void write_c_string (CONST char *s, Lisp_Object printcharfun); | |
1492 /* Same goes for this function. */ | |
1493 void write_string_1 (CONST Bufbyte *s, Bytecount size, | |
1494 Lisp_Object printcharfun); | |
1495 void print_internal (Lisp_Object obj, | |
1496 Lisp_Object printcharfun, | |
1497 int escapeflag); | |
1498 extern Lisp_Object Vprint_level; | |
1499 extern Lisp_Object Vprint_length; | |
1500 extern int print_escape_newlines; | |
1501 extern int print_readably; | |
1502 extern Lisp_Object Qprint_escape_newlines; | |
1503 Lisp_Object internal_with_output_to_temp_buffer (CONST char *bufname, | |
1504 Lisp_Object (*function) | |
1505 (Lisp_Object args), | |
1506 Lisp_Object args, | |
1507 Lisp_Object same_frame); | |
1508 void float_to_string (char *buf, double data); | |
1509 void print_symbol (Lisp_Object, Lisp_Object stream, int escapeflag); | |
1510 void print_compiled_function (Lisp_Object, Lisp_Object stream, int escapeflag); | |
1511 void print_float (Lisp_Object, Lisp_Object stream, int escapeflag); | |
1512 extern Lisp_Object Qprint_length, Qprint_string_length; | |
1513 void internal_object_printer (Lisp_Object obj, Lisp_Object printcharfun, | |
1514 int escapeflag); | |
1515 | |
1516 /* Defined in process.c */ | |
1517 Lisp_Object Fprocess_send_eof (Lisp_Object process); | |
1518 | |
1519 | |
1520 /* Defined in profile.c */ | |
1521 void mark_profiling_info (void (*markfun) (Lisp_Object)); | |
1522 extern int profiling_active; | |
1523 extern int profiling_redisplay_flag; | |
1524 | |
1525 | |
1526 /* Defined in rangetab.c */ | |
1527 Lisp_Object Fmake_range_table (void); | |
1528 Lisp_Object Fput_range_table (Lisp_Object start, Lisp_Object end, | |
1529 Lisp_Object val, Lisp_Object table); | |
1530 Lisp_Object Fget_range_table (Lisp_Object pos, Lisp_Object table, | |
1531 Lisp_Object defalt); | |
1532 Lisp_Object Fclear_range_table (Lisp_Object table); | |
1533 void put_range_table (Lisp_Object table, EMACS_INT first, | |
1534 EMACS_INT last, Lisp_Object val); | |
1535 int unified_range_table_bytes_needed (Lisp_Object rangetab); | |
1536 int unified_range_table_bytes_used (void *unrangetab); | |
1537 void unified_range_table_copy_data (Lisp_Object rangetab, void *dest); | |
1538 Lisp_Object unified_range_table_lookup (void *unrangetab, EMACS_INT pos, | |
1539 Lisp_Object defalt); | |
1540 int unified_range_table_nentries (void *unrangetab); | |
1541 void unified_range_table_get_range (void *unrangetab, int offset, | |
1542 EMACS_INT *min, EMACS_INT *max, | |
1543 Lisp_Object *val); | |
1544 | |
1545 | |
1546 /* Defined in redisplay.c */ | |
1547 Lisp_Object Fredraw_frame (Lisp_Object frame, Lisp_Object no_preempt); | |
1548 Lisp_Object Fmessage_displayed_p (Lisp_Object return_string); | |
1549 extern Lisp_Object Voverlay_arrow_position, Voverlay_arrow_string; | |
1550 extern Lisp_Object Vbar_cursor; | |
1551 extern Lisp_Object Qbar_cursor; | |
1552 extern Lisp_Object Vwindow_system; | |
1553 extern Lisp_Object Qcursor_in_echo_area; | |
1554 | |
1555 | |
1556 /* Defined in search.c */ | |
1557 struct re_pattern_buffer; | |
1558 struct re_registers; | |
1559 Lisp_Object Fstring_match (Lisp_Object regexp, | |
1560 Lisp_Object string, Lisp_Object start, | |
1561 Lisp_Object buffer); | |
1562 Lisp_Object Fmatch_beginning (Lisp_Object n); | |
1563 Lisp_Object Fmatch_end (Lisp_Object n); | |
1564 Lisp_Object Fskip_chars_forward (Lisp_Object string, Lisp_Object lim, | |
1565 Lisp_Object buffer); | |
1566 Lisp_Object Fskip_chars_backward (Lisp_Object string, Lisp_Object lim, | |
1567 Lisp_Object buffer); | |
1568 Bufpos scan_buffer (struct buffer *buf, Emchar target, Bufpos start, | |
1569 Bufpos end, int cnt, int *shortage, | |
1570 int allow_quit); | |
1571 Bufpos find_next_newline (struct buffer *buf, Bufpos from, int cnt); | |
1572 Bufpos find_next_newline_no_quit (struct buffer *buf, Bufpos from, int cnt); | |
1573 Bytind bi_find_next_newline_no_quit (struct buffer *buf, Bytind from, int cnt); | |
1574 Bufpos find_before_next_newline (struct buffer *buf, Bufpos from, | |
1575 Bufpos to, int cnt); | |
1576 struct re_pattern_buffer *compile_pattern (Lisp_Object pattern, | |
1577 struct re_registers *regp, | |
1578 char *translate, int posix, | |
1579 Error_behavior errb); | |
1580 Bytecount fast_string_match (Lisp_Object regexp, CONST Bufbyte *nonreloc, | |
1581 Lisp_Object reloc, Bytecount offset, | |
1582 Bytecount length, int case_fold_search, | |
1583 Error_behavior errb, int no_quit); | |
1584 Bytecount fast_lisp_string_match (Lisp_Object regex, Lisp_Object string); | |
1585 Lisp_Object Fre_search_forward (Lisp_Object string, Lisp_Object bound, | |
1586 Lisp_Object no_error, | |
1587 Lisp_Object count, | |
1588 Lisp_Object buffer); | |
1589 void restore_match_data (void); | |
1590 | |
1591 | |
1592 /* Defined in signal.c */ | |
1593 void init_interrupts_late (void); | |
1594 extern int dont_check_for_quit; | |
1595 void begin_dont_check_for_quit (void); | |
1596 void emacs_sleep (int secs); | |
1597 | |
1598 | |
1599 /* Defined in sound.c */ | |
1600 Lisp_Object Fplay_sound (Lisp_Object sound, Lisp_Object volume, | |
1601 Lisp_Object device); | |
1602 Lisp_Object Fding (Lisp_Object arg, Lisp_Object sound, | |
1603 Lisp_Object device); | |
1604 void init_device_sound (struct device *d); | |
1605 extern Lisp_Object Qnas; | |
1606 | |
1607 | |
1608 /* Defined in specifier.c */ | |
1609 Lisp_Object Fspecifier_instance (Lisp_Object specifier, | |
1610 Lisp_Object locale, | |
1611 Lisp_Object defalt, | |
1612 Lisp_Object no_fallback); | |
1613 Lisp_Object Fspecifier_specs (Lisp_Object specifier, | |
1614 Lisp_Object locale, | |
1615 Lisp_Object tag_set, | |
1616 Lisp_Object exact_p); | |
1617 Lisp_Object Fspecifier_spec_list (Lisp_Object specifier, | |
1618 Lisp_Object locale, | |
1619 Lisp_Object tag_set, | |
1620 Lisp_Object exact_p); | |
1621 Lisp_Object Fmake_specifier (Lisp_Object type); | |
1622 Lisp_Object Fadd_spec_to_specifier (Lisp_Object specifier, | |
1623 Lisp_Object locale, | |
1624 Lisp_Object instantiator, | |
1625 Lisp_Object tag, | |
1626 Lisp_Object how_to_add); | |
1627 Lisp_Object Fvalid_specifier_locale_p (Lisp_Object locale); | |
1628 Lisp_Object Fcopy_specifier (Lisp_Object specifier, | |
1629 Lisp_Object dest, | |
1630 Lisp_Object locale, | |
1631 Lisp_Object tag_set, | |
1632 Lisp_Object exact_p, | |
1633 Lisp_Object how_to_add); | |
1634 Lisp_Object Fremove_specifier (Lisp_Object specifier, | |
1635 Lisp_Object locale, | |
1636 Lisp_Object tag_set, | |
1637 Lisp_Object exact_p); | |
1638 Lisp_Object specifier_instance (Lisp_Object specifier, | |
1639 Lisp_Object matchspec, | |
1640 Lisp_Object domain, | |
1641 Error_behavior errb, | |
1642 int no_quit, | |
1643 int no_fallback, | |
1644 Lisp_Object depth); | |
1645 Lisp_Object specifier_instance_no_quit (Lisp_Object specifier, | |
1646 Lisp_Object matchspec, | |
1647 Lisp_Object domain, | |
1648 Error_behavior errb, | |
1649 int no_fallback, | |
1650 Lisp_Object depth); | |
1651 Lisp_Object Fset_specifier_dirty_flag (Lisp_Object specifier); | |
1652 extern Lisp_Object Qfallback; | |
1653 extern Lisp_Object Qnatnum; | |
1654 | |
1655 | |
1656 /* Defined in symbols.c */ | |
1657 extern Lisp_Object Vobarray; | |
1658 Lisp_Object Fintern (Lisp_Object str, Lisp_Object obarray); | |
1659 Lisp_Object Fintern_soft (Lisp_Object str, Lisp_Object obarray); | |
1660 int hash_string (CONST Bufbyte *, Bytecount len); | |
1661 Lisp_Object intern (CONST char *); | |
1662 Lisp_Object oblookup (Lisp_Object obarray, | |
1663 CONST Bufbyte *, Bytecount len); | |
1664 void map_obarray (Lisp_Object obarray, | |
1665 void (*fn) (Lisp_Object sym, Lisp_Object arg), | |
1666 Lisp_Object arg); | |
1667 Lisp_Object Fboundp (Lisp_Object sym); | |
1668 Lisp_Object Ffboundp (Lisp_Object); | |
1669 Lisp_Object Ffset (Lisp_Object sym, Lisp_Object val); | |
1670 Lisp_Object Fsymbol_plist (Lisp_Object sym); | |
1671 Lisp_Object Fsetplist (Lisp_Object sym, Lisp_Object val); | |
1672 Lisp_Object Fsymbol_function (Lisp_Object sym); | |
1673 Lisp_Object Fsymbol_value (Lisp_Object sym); | |
1674 Lisp_Object Fdefault_value (Lisp_Object sym); | |
1675 Lisp_Object Fdefault_boundp (Lisp_Object sym); | |
1676 Lisp_Object Fset (Lisp_Object sym, Lisp_Object val); | |
1677 Lisp_Object Fset_default (Lisp_Object sym, Lisp_Object val); | |
1678 Lisp_Object Fsymbol_name (Lisp_Object sym); | |
1679 Lisp_Object Findirect_function (Lisp_Object object); | |
1680 Lisp_Object indirect_function (Lisp_Object object, int errorp); | |
1681 Lisp_Object symbol_value_in_buffer (Lisp_Object sym, Lisp_Object buf); | |
1682 void kill_buffer_local_variables (struct buffer *buf); | |
1683 Lisp_Object Fmake_local_variable (Lisp_Object object); | |
1684 int symbol_value_buffer_local_info (Lisp_Object symbol, struct buffer *); | |
1685 Lisp_Object find_symbol_value (Lisp_Object symbol); | |
1686 Lisp_Object top_level_value (Lisp_Object symbol); | |
1687 Lisp_Object Fkill_local_variable (Lisp_Object symbol); | |
1688 Lisp_Object Fmake_variable_buffer_local (Lisp_Object variable); | |
1689 Lisp_Object Fbuilt_in_variable_type (Lisp_Object sym); | |
1690 extern Lisp_Object Qconst_specifier; | |
1691 | |
1692 /* Defined in syntax.c */ | |
1693 int scan_words (struct buffer *buf, int from, int count); | |
1694 Lisp_Object Fforward_word (Lisp_Object n, Lisp_Object buffer); | |
1695 | |
1696 | |
1697 /* Defined in sysdep.c, also declared in sysdep.h. | |
1698 (These may be called via the open, etc macros instead...) | |
1699 */ | |
1700 #ifdef ENCAPSULATE_OPEN | |
1701 int sys_open (CONST char *path, int oflag, ...); | |
1702 #endif | |
1703 #ifdef ENCAPSULATE_CLOSE | |
1704 int sys_close (int fd); | |
1705 #endif | |
1706 #ifdef ENCAPSULATE_READ | |
1707 int sys_read (int fildes, void *buf, unsigned int nbyte); | |
1708 #endif | |
1709 #ifdef ENCAPSULATE_WRITE | |
1710 int sys_write (int fildes, CONST void *buf, unsigned int nbyte); | |
1711 #endif | |
1712 | |
1713 #ifdef ENCAPSULATE_FOPEN | |
1714 FILE *sys_fopen (CONST char *path, CONST char *type); | |
1715 #endif | |
1716 #ifdef ENCAPSULATE_FCLOSE | |
1717 int sys_fclose (FILE *stream); | |
1718 #endif | |
1719 #ifdef ENCAPSULATE_FREAD | |
1720 size_t sys_fread (void *ptr, size_t size, size_t nitem, FILE *stream); | |
1721 #endif | |
1722 #ifdef ENCAPSULATE_FWRITE | |
1723 size_t sys_fwrite (CONST void *ptr, size_t size, size_t nitem, | |
1724 FILE *stream); | |
1725 #endif | |
1726 | |
1727 unsigned int sys_getuid (void); | |
1728 | |
1729 char *egetenv (CONST char *); | |
1730 /* extern char *getenv (CONST char *); */ | |
1731 | |
1732 | |
1733 /* Defined in undo.c */ | |
1734 Lisp_Object Fundo_boundary (void); | |
1735 Lisp_Object truncate_undo_list (Lisp_Object list, int min, int max); | |
1736 void record_extent (Lisp_Object extent, int attached); | |
1737 void record_insert (struct buffer *b, Bufpos beg, Charcount length); | |
1738 void record_delete (struct buffer *b, Bufpos beg, Charcount length); | |
1739 void record_change (struct buffer *b, Bufpos beg, Charcount length); | |
1740 extern Lisp_Object Qinhibit_read_only; | |
1741 | |
1742 | |
1743 /* Defined in unex*.c */ | |
1744 int unexec (char *new_name, char *a_name, | |
1745 unsigned int data_start, | |
1746 unsigned int bss_start, | |
1747 unsigned int entry_address); | |
1748 #ifdef RUN_TIME_REMAP | |
1749 int run_time_remap (char *); | |
1750 #endif | |
1751 | |
1752 | |
1753 /* Defined in vm-limit.c */ | |
1754 void memory_warnings (void *start, void (*warnfun) (CONST char *)); | |
1755 | |
1756 | |
1757 /* Defined in window.c */ | |
1758 extern Lisp_Object Qvisible; | |
1759 extern Lisp_Object Qscroll_up, Qscroll_down; | |
1760 Lisp_Object Fselected_window (Lisp_Object device); | |
1761 Lisp_Object Fwindow_buffer (Lisp_Object window); | |
1762 Lisp_Object Fwindow_lowest_p (Lisp_Object window); | |
1763 Lisp_Object Fwindow_highest_p (Lisp_Object window); | |
1764 Lisp_Object Fget_buffer_window (Lisp_Object buffer, | |
1765 Lisp_Object frame, | |
1766 Lisp_Object ignored); | |
1767 Lisp_Object Fsave_window_excursion (Lisp_Object body); | |
1768 Lisp_Object Fset_window_configuration (Lisp_Object config); | |
1769 Lisp_Object save_window_excursion_unwind (Lisp_Object window_config); | |
1770 Lisp_Object Fcurrent_window_configuration (Lisp_Object frame); | |
1771 Lisp_Object display_buffer (Lisp_Object buffer, | |
1772 Lisp_Object notthiswindow, | |
1773 Lisp_Object overrideframe); | |
1774 Lisp_Object Freplace_buffer_in_windows (Lisp_Object buffer); | |
1775 Lisp_Object Fwindow_dedicated_p (Lisp_Object window); | |
1776 Lisp_Object Fnext_window (Lisp_Object window, | |
1777 Lisp_Object minibuf, | |
1778 Lisp_Object all_frames, | |
1779 Lisp_Object device); | |
1780 Lisp_Object Fdelete_window (Lisp_Object window, Lisp_Object force); | |
1781 Lisp_Object Fselect_window (Lisp_Object window); | |
1782 Lisp_Object Fset_window_buffer (Lisp_Object window, | |
1783 Lisp_Object buffer); | |
1784 Lisp_Object Fsplit_window (Lisp_Object window, | |
1785 Lisp_Object chsize, | |
1786 Lisp_Object horflag); | |
1787 Lisp_Object Frecenter (Lisp_Object arg, Lisp_Object window); | |
1788 Lisp_Object Fmove_to_window_line (Lisp_Object arg, Lisp_Object window); | |
1789 Lisp_Object Fbuffer_left_margin_pixwidth (Lisp_Object buffer); | |
1790 Lisp_Object Fbuffer_right_margin_pixwidth (Lisp_Object buffer); | |
1791 Lisp_Object Fset_window_hscroll (Lisp_Object window, Lisp_Object ncol); | |
1792 Lisp_Object Fwindow_point (Lisp_Object window); | |
1793 Lisp_Object Fset_window_point (Lisp_Object window, Lisp_Object pos); | |
1794 Lisp_Object Fset_window_start (Lisp_Object window, Lisp_Object pos, | |
1795 Lisp_Object noforce); | |
1796 Lisp_Object Fwindow_start (Lisp_Object window); | |
1797 Lisp_Object Fwindow_end (Lisp_Object window, Lisp_Object guarantee); | |
1798 | |
1799 #endif /* _EMACSFNS_H_ */ |