aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2007-12-05 05:07:51 +0000
committerKenichi Handa2007-12-05 05:07:51 +0000
commite93abe3da7f18b44aad0aa302f15f6777c7d1627 (patch)
treef82d1c3a970c6bcbcdf4bc9b7f6031ec119e89fd /src
parentd67f27bc83e8e1b2090ff810e3e41d927d96ceee (diff)
downloademacs-e93abe3da7f18b44aad0aa302f15f6777c7d1627.tar.gz
emacs-e93abe3da7f18b44aad0aa302f15f6777c7d1627.zip
(read1): Redo the previous change with checking
Vpurify_flag.
Diffstat (limited to 'src')
-rw-r--r--src/lread.c25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/lread.c b/src/lread.c
index 2df624d086f..6674f840686 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -2992,19 +2992,18 @@ read1 (readcharfun, pch, first_in_list)
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))