]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_escape): In a string, \s is always space.
authorRichard M. Stallman <rms@gnu.org>
Sat, 28 Apr 2007 17:24:22 +0000 (17:24 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 28 Apr 2007 17:24:22 +0000 (17:24 +0000)
src/lread.c

index 1f1ddddde4f9913fd46dc8beb5f0fc15a420c248..088f729075d32ad40a2fa6a65d2c6dd82abd740c 100644 (file)
@@ -1894,7 +1894,7 @@ read_escape (readcharfun, stringp, byterep)
 
     case 's':
       c = READCHAR;
-      if (c != '-')
+      if (stringp || c != '-')
        {
          UNREAD (c);
          return ' ';