mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-22 21:07:36 +00:00
(read1): Fix next_char matching.
This commit is contained in:
parent
e870dd8926
commit
95af0924b4
1 changed files with 5 additions and 5 deletions
10
src/lread.c
10
src/lread.c
|
|
@ -2374,7 +2374,7 @@ read1 (readcharfun, pch, first_in_list)
|
|||
c = 0;
|
||||
else if (c == (CHAR_CTL | '?'))
|
||||
c = 127;
|
||||
|
||||
|
||||
if (c & CHAR_SHIFT)
|
||||
{
|
||||
/* Shift modifier is valid only with [A-Za-z]. */
|
||||
|
|
@ -2459,9 +2459,9 @@ read1 (readcharfun, pch, first_in_list)
|
|||
|
||||
if (next_char <= 040
|
||||
|| (next_char < 0200
|
||||
&& index ("\"';([#?", next_char)
|
||||
|| (!first_in_list && next_char == '`')
|
||||
|| (new_backquote_flag && next_char == ',')))
|
||||
&& (index ("\"';([#?", next_char)
|
||||
|| (!first_in_list && next_char == '`')
|
||||
|| (new_backquote_flag && next_char == ','))))
|
||||
{
|
||||
*pch = c;
|
||||
return Qnil;
|
||||
|
|
@ -3681,7 +3681,7 @@ init_lread ()
|
|||
/* When Emacs is invoked over network shares on NT, PATH_LOADSEARCH is
|
||||
almost never correct, thereby causing a warning to be printed out that
|
||||
confuses users. Since PATH_LOADSEARCH is always overridden by the
|
||||
EMACSLOADPATH environment variable below, disable the warning on NT.
|
||||
EMACSLOADPATH environment variable below, disable the warning on NT.
|
||||
Also, when using the "self-contained" option for Carbon Emacs for MacOSX,
|
||||
the "standard" paths may not exist and would be overridden by
|
||||
EMACSLOADPATH as on NT. Since this depends on how the executable
|
||||
|
|
|
|||
Loading…
Reference in a new issue