Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/src/buffer.c Thu May 24 07:51:33 2001 +0000 +++ b/src/buffer.c Thu May 24 09:37:30 2001 +0000 @@ -93,6 +93,8 @@ #include "sysfile.h" +Lisp_Object Qtext_conversion_error; + struct buffer *current_buffer; /* the current buffer */ /* This structure holds the default values of the buffer-local variables @@ -2096,6 +2098,8 @@ { INIT_LRECORD_IMPLEMENTATION (buffer); + DEFERROR_STANDARD (Qtext_conversion_error, Qconversion_error); + DEFSYMBOL (Qbuffer_live_p); DEFSYMBOL (Qbuffer_or_string_p); DEFSYMBOL (Qmode_class);