comparison src/buffer.c @ 580:55e998c311f5

[xemacs-hg @ 2001-05-26 12:24:50 by ben] buffer.c, data.c: move text-conversion-error into data.c, along with other errors. xemacs.mak: fix use of targets so that config.h doesn't end up being passed to the C compiler as an input file; that creates warnings. put back config.inc into depend-file targets; removed previously in a wrong attempt to fix this same problem. configure.in: rewrite warning output so that it doesn't happen by default -- you should only get warnings when something is actively wrong, not just because a feature is not present.
author ben
date Sat, 26 May 2001 12:24:55 +0000
parents 001628b7a5b3
children af57a77cbc92
comparison
equal deleted inserted replaced
579:0e1f61d4b978 580:55e998c311f5
91 #include "sysdep.h" /* for getwd */ 91 #include "sysdep.h" /* for getwd */
92 #include "window.h" 92 #include "window.h"
93 93
94 #include "sysfile.h" 94 #include "sysfile.h"
95 95
96 Lisp_Object Qtext_conversion_error;
97
98 struct buffer *current_buffer; /* the current buffer */ 96 struct buffer *current_buffer; /* the current buffer */
99 97
100 /* This structure holds the default values of the buffer-local variables 98 /* This structure holds the default values of the buffer-local variables
101 defined with DEFVAR_BUFFER_LOCAL, that have special slots in each buffer. 99 defined with DEFVAR_BUFFER_LOCAL, that have special slots in each buffer.
102 The default value occupies the same slot in this structure 100 The default value occupies the same slot in this structure
2095 2093
2096 void 2094 void
2097 syms_of_buffer (void) 2095 syms_of_buffer (void)
2098 { 2096 {
2099 INIT_LRECORD_IMPLEMENTATION (buffer); 2097 INIT_LRECORD_IMPLEMENTATION (buffer);
2100
2101 DEFERROR_STANDARD (Qtext_conversion_error, Qconversion_error);
2102 2098
2103 DEFSYMBOL (Qbuffer_live_p); 2099 DEFSYMBOL (Qbuffer_live_p);
2104 DEFSYMBOL (Qbuffer_or_string_p); 2100 DEFSYMBOL (Qbuffer_or_string_p);
2105 DEFSYMBOL (Qmode_class); 2101 DEFSYMBOL (Qmode_class);
2106 DEFSYMBOL (Qrename_auto_save_file); 2102 DEFSYMBOL (Qrename_auto_save_file);