comparison src/fileio.c @ 19664:d206d8b146dc

(Finsert_file_contents): Fix previous change--don't call Fboundp on Vset_auto_coding_function, just check non-nil.
author Richard M. Stallman <rms@gnu.org>
date Mon, 01 Sep 1997 22:43:29 +0000
parents d7f2d75a09d3
children d28bbba0fcd0
comparison
equal deleted inserted replaced
19663:cdd578704f28 19664:d206d8b146dc
3147 val = Vcoding_system_for_read; 3147 val = Vcoding_system_for_read;
3148 else if (NILP (current_buffer->enable_multibyte_characters)) 3148 else if (NILP (current_buffer->enable_multibyte_characters))
3149 val = Qemacs_mule; 3149 val = Qemacs_mule;
3150 else 3150 else
3151 { 3151 {
3152 if (SYMBOLP (Vset_auto_coding_function) 3152 if (! NILP (Vset_auto_coding_function))
3153 && !NILP (Fboundp (Vset_auto_coding_function)))
3154 { 3153 {
3155 /* Find a coding system specified in the heading two lines 3154 /* Find a coding system specified in the heading two lines
3156 or in the tailing several lines of the file. We assume 3155 or in the tailing several lines of the file. We assume
3157 that the 1K-byte and 3K-byte for heading and tailing 3156 that the 1K-byte and 3K-byte for heading and tailing
3158 respectively are sufficient fot this purpose. */ 3157 respectively are sufficient fot this purpose. */