diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-02-06 01:52:45 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-02-06 01:52:45 +0300 |
commit | 37eef3cf0ab0b0ed3dabc1c96515f4e30011f9db (patch) | |
tree | 26e64b3214c74803f8322fcd543890d20c809e38 /src/core-commands.c | |
parent | 3e6446249be73d992d657feb9dfba43e8152c40c (diff) | |
download | sciteco-37eef3cf0ab0b0ed3dabc1c96515f4e30011f9db.tar.gz |
avoid Groff warnings due to `\` escapes
* It's generally a bad idea to pass backslashes as a glyph in macro arguments, even as `\\`
since this could easily be interpreted as an escape.
* Instead we now always use `\[rs]`.
Diffstat (limited to 'src/core-commands.c')
-rw-r--r-- | src/core-commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core-commands.c b/src/core-commands.c index bfec8be..d959f10 100644 --- a/src/core-commands.c +++ b/src/core-commands.c @@ -165,7 +165,7 @@ teco_state_start_range(teco_machine_main_t *ctx, GError **error) teco_expressions_push(teco_interface_ssm(SCI_GETLENGTH, 0, 0)); } -/*$ "\\" +/*$ \[rs] * n\\ -- Insert or read ASCII numbers * \\ -> n * @@ -2100,7 +2100,7 @@ teco_state_ecommand_flags(teco_machine_main_t *ctx, GError **error) * You have been warned. Good luck. * .IP 4 * The column after the last horizontal movement. - * This is only used by \fCfnkeys.tes\fP and is similar to the Scintilla-internal + * This is only used by \fBfnkeys.tes\fP and is similar to the Scintilla-internal * setting \fBSCI_CHOOSECARETX\fP. * Unless most other settings, this is on purpose not restored on rubout, * so it "survives" command line replacements. |