diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc.c | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -821,7 +821,7 @@ thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ int | |||
| 821 | start = strp; | 821 | start = strp; |
| 822 | start_idx = start - SDATA (string); | 822 | start_idx = start - SDATA (string); |
| 823 | 823 | ||
| 824 | while ((strp - SDATA (string) < SCHARS (string)) | 824 | while ((strp - SDATA (string) < SBYTES (string)) |
| 825 | && *strp != '}' && *strp != '>') | 825 | && *strp != '}' && *strp != '>') |
| 826 | strp++; | 826 | strp++; |
| 827 | 827 | ||
| @@ -927,3 +927,6 @@ syms_of_doc () | |||
| 927 | defsubr (&Ssnarf_documentation); | 927 | defsubr (&Ssnarf_documentation); |
| 928 | defsubr (&Ssubstitute_command_keys); | 928 | defsubr (&Ssubstitute_command_keys); |
| 929 | } | 929 | } |
| 930 | |||
| 931 | /* arch-tag: 56281d4d-6949-43e2-be2e-f6517de744ba | ||
| 932 | (do not change this comment) */ | ||