diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c index 07580d11d13..128b46aefef 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -3805,7 +3805,12 @@ read1 (Lisp_Object readcharfun, int *pch, bool first_in_list) | |||
| 3805 | ptrdiff_t longhand_bytes = 0; | 3805 | ptrdiff_t longhand_bytes = 0; |
| 3806 | 3806 | ||
| 3807 | Lisp_Object tem; | 3807 | Lisp_Object tem; |
| 3808 | if (skip_shorthand) | 3808 | if (skip_shorthand || |
| 3809 | /* The following ASCII characters are used in the | ||
| 3810 | only "core" Emacs Lisp symbols that are | ||
| 3811 | exclusively comprised of 'symbol constituent' | ||
| 3812 | syntax. */ | ||
| 3813 | strspn(read_buffer, "^*+-/<=>_|") >= nbytes) | ||
| 3809 | tem = oblookup (obarray, read_buffer, nchars, nbytes); | 3814 | tem = oblookup (obarray, read_buffer, nchars, nbytes); |
| 3810 | else | 3815 | else |
| 3811 | tem = oblookup_considering_shorthand (obarray, read_buffer, | 3816 | tem = oblookup_considering_shorthand (obarray, read_buffer, |