comparison src/buffer.c @ 564:001628b7a5b3

[xemacs-hg @ 2001-05-24 09:37:25 by yoshiki] Fix broken build on Linux. * buffer.c (Qtext_conversion_error): Moved from file-coding.c so that --with-file-coding=no will compile corectly. * buffer.c (syms_of_buffer): Define Qtext_conversion_error. Also moved from file-coding.c * file-coding.c (Qtext_conversion_error): Moved to buffer.c * file-coding.c (syms_of_file_coding): Moved Qtext_conversion_error initialization to buffer.c * emodules.c (Qdll_error): New error. * emodules.c (syms_of_module): Declare Qdll_error. * esd.c (esd_play_sound_data): sound_warn accepts only one arg. * miscplay.c (sndcnv8S_2mono): * miscplay.c (sndcnv2monounsigned): * miscplay.c (int2ulaw): * miscplay.c (sndcnv2byteLE): * miscplay.c (sndcnv2byteBE): * miscplay.c (sndcnv2monobyteLE): * miscplay.c (sndcnv2monobyteBE): Replace signed Char_Binary with Char_Binary. There's no type called signed char in C. Also remove audio: from error message. sound_warn and sound_perror prepends them.
author yoshiki
date Thu, 24 May 2001 09:37:30 +0000
parents 183866b06e0b
children 55e998c311f5
comparison
equal deleted inserted replaced
563:183866b06e0b 564:001628b7a5b3
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
96 struct buffer *current_buffer; /* the current buffer */ 98 struct buffer *current_buffer; /* the current buffer */
97 99
98 /* This structure holds the default values of the buffer-local variables 100 /* This structure holds the default values of the buffer-local variables
99 defined with DEFVAR_BUFFER_LOCAL, that have special slots in each buffer. 101 defined with DEFVAR_BUFFER_LOCAL, that have special slots in each buffer.
100 The default value occupies the same slot in this structure 102 The default value occupies the same slot in this structure
2093 2095
2094 void 2096 void
2095 syms_of_buffer (void) 2097 syms_of_buffer (void)
2096 { 2098 {
2097 INIT_LRECORD_IMPLEMENTATION (buffer); 2099 INIT_LRECORD_IMPLEMENTATION (buffer);
2100
2101 DEFERROR_STANDARD (Qtext_conversion_error, Qconversion_error);
2098 2102
2099 DEFSYMBOL (Qbuffer_live_p); 2103 DEFSYMBOL (Qbuffer_live_p);
2100 DEFSYMBOL (Qbuffer_or_string_p); 2104 DEFSYMBOL (Qbuffer_or_string_p);
2101 DEFSYMBOL (Qmode_class); 2105 DEFSYMBOL (Qmode_class);
2102 DEFSYMBOL (Qrename_auto_save_file); 2106 DEFSYMBOL (Qrename_auto_save_file);