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
9a39b306
Commit
9a39b306
authored
Jul 04, 2010
by
Tetsurou Okazaki
Committed by
Stefan Monnier
Jul 04, 2010
Browse files
* src/lread.c (read1): Fix up last change to not mess up `c'.
Fixes: debbugs:6490
parent
e6cb2cbb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
24 deletions
+32
-24
src/ChangeLog
src/ChangeLog
+5
-0
src/lread.c
src/lread.c
+27
-24
No files found.
src/ChangeLog
View file @
9a39b306
2010-07-04 Tetsurou Okazaki <okazaki@be.to> (tiny change)
Stefan Monnier <monnier@iro.umontreal.ca>
* lread.c (read1): Fix up last change to not mess up `c'.
2010-07-04 Juanma Barranquero <lekktu@gmail.com>
2010-07-04 Juanma Barranquero <lekktu@gmail.com>
* strftime.c: Revert conversion to standard C (2010-07-04T07:50:25Z!dann@ics.uci.edu).
* strftime.c: Revert conversion to standard C (2010-07-04T07:50:25Z!dann@ics.uci.edu).
...
...
src/lread.c
View file @
9a39b306
...
@@ -2645,6 +2645,9 @@ read1 (register Lisp_Object readcharfun, int *pch, int first_in_list)
...
@@ -2645,6 +2645,9 @@ read1 (register Lisp_Object readcharfun, int *pch, int first_in_list)
}
}
case
'`'
:
case
'`'
:
{
int
next_char
=
READCHAR
;
UNREAD
(
next_char
);
/* Transition from old-style to new-style:
/* Transition from old-style to new-style:
If we see "(`" it used to mean old-style, which usually works
If we see "(`" it used to mean old-style, which usually works
fine because ` should almost never appear in such a position
fine because ` should almost never appear in such a position
...
@@ -2655,7 +2658,7 @@ read1 (register Lisp_Object readcharfun, int *pch, int first_in_list)
...
@@ -2655,7 +2658,7 @@ read1 (register Lisp_Object readcharfun, int *pch, int first_in_list)
old-style. For Emacs-25, we should completely remove this
old-style. For Emacs-25, we should completely remove this
first_in_list exception (old-style can still be obtained via
first_in_list exception (old-style can still be obtained via
"(\`" anyway). */
"(\`" anyway). */
if
(
first_in_list
&&
(
c
=
READCHAR
,
UNREAD
(
c
),
c
==
' '
)
)
if
(
first_in_list
&&
next_char
==
' '
)
{
{
Vold_style_backquotes
=
Qt
;
Vold_style_backquotes
=
Qt
;
goto
default_label
;
goto
default_label
;
...
@@ -2670,7 +2673,7 @@ read1 (register Lisp_Object readcharfun, int *pch, int first_in_list)
...
@@ -2670,7 +2673,7 @@ read1 (register Lisp_Object readcharfun, int *pch, int first_in_list)
return
Fcons
(
Qbackquote
,
Fcons
(
value
,
Qnil
));
return
Fcons
(
Qbackquote
,
Fcons
(
value
,
Qnil
));
}
}
}
case
','
:
case
','
:
if
(
new_backquote_flag
)
if
(
new_backquote_flag
)
{
{
...
...
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