aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2007-04-28 17:24:22 +0000
committerRichard M. Stallman <[email protected]>2007-04-28 17:24:22 +0000
commit4d7528d05918fa0b3b40147f7e7b91835482dd47 (patch)
tree8f55182e77b89b08fbee487c34882e0204607c14 /src
parent43618a571548821a4c63b8c5f87d121733da4641 (diff)
(read_escape): In a string, \s is always space.
Diffstat (limited to 'src')
-rw-r--r--src/lread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c
index 1f1ddddde4..088f729075 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1894,7 +1894,7 @@ read_escape (readcharfun, stringp, byterep)
case 's':
c = READCHAR;
- if (c != '-')
+ if (stringp || c != '-')
{
UNREAD (c);
return ' ';