Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
03859d20
Commit
03859d20
authored
Mar 29, 2000
by
Gerd Moellmann
Browse files
(read1): Accept `.' (period) as symbol start like in CL
and earlier Emacs versions.
parent
3bc25e52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
src/lread.c
src/lread.c
+1
-4
No files found.
src/lread.c
View file @
03859d20
...
...
@@ -2135,13 +2135,10 @@ read1 (readcharfun, pch, first_in_list)
case
'.'
:
{
/* If a period is followed by a number, then we should read it
as a floating point number. Otherwise, it denotes a dotted
pair. */
int
next_char
=
READCHAR
;
UNREAD
(
next_char
);
if
(
!
(
next_char
>=
'0'
&&
next_char
<=
'9'
)
)
if
(
next_char
<=
040
)
{
*
pch
=
c
;
return
Qnil
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment