Mercurial > emacs
comparison src/lread.c @ 91185:62752a838b86
(read1): Redo the previous change with checking
Vpurify_flag.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 05 Dec 2007 05:07:51 +0000 |
parents | 1805a65e7746 |
children | 606f2d163a64 |
comparison
equal
deleted
inserted
replaced
91184:f73ebed781c2 | 91185:62752a838b86 |
---|---|
2990 | 2990 |
2991 return make_float (negative ? - value : value); | 2991 return make_float (negative ? - value : value); |
2992 } | 2992 } |
2993 } | 2993 } |
2994 { | 2994 { |
2995 #if 0 | 2995 Lisp_Object name, result; |
2996 /* Fixme: The fullowing code is currently commented out | 2996 EMACS_INT nbytes = p - read_buffer; |
2997 because it results in strange error in C-h f. For the | 2997 EMACS_INT nchars |
2998 moment, I don't have a time to track down the | 2998 = (multibyte ? multibyte_chars_in_text (read_buffer, nbytes) |
2999 problem. -- Handa */ | 2999 : nbytes); |
3000 Lisp_Object name = make_specified_string (read_buffer, -1, | 3000 |
3001 p - read_buffer, | 3001 if (uninterned_symbol && ! NILP (Vpurify_flag)) |
3002 multibyte); | 3002 name = make_pure_string (read_buffer, nchars, nbytes, multibyte); |
3003 Lisp_Object result = (uninterned_symbol ? Fmake_symbol (name) | 3003 else |
3004 : Fintern (name, Qnil)); | 3004 name = make_specified_string (read_buffer, nchars, nbytes,multibyte); |
3005 #endif | 3005 result = (uninterned_symbol ? Fmake_symbol (name) |
3006 Lisp_Object result = uninterned_symbol ? make_symbol (read_buffer) | 3006 : Fintern (name, Qnil)); |
3007 : intern (read_buffer); | |
3008 | 3007 |
3009 if (EQ (Vread_with_symbol_positions, Qt) | 3008 if (EQ (Vread_with_symbol_positions, Qt) |
3010 || EQ (Vread_with_symbol_positions, readcharfun)) | 3009 || EQ (Vread_with_symbol_positions, readcharfun)) |
3011 Vread_symbol_positions_list = | 3010 Vread_symbol_positions_list = |
3012 /* Kind of a hack; this will probably fail if characters | 3011 /* Kind of a hack; this will probably fail if characters |