diff options
| author | Stefan Kangas | 2022-12-06 18:05:08 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2022-12-06 18:05:08 +0100 |
| commit | 40af27859e0fc243d1fcfd0ddab4fe1748568c58 (patch) | |
| tree | 3dd79cb506104f8a863058a50fe6d4bb1986aace /lib-src | |
| parent | 43b7e7efbf4df178bb3fa42a32e90ee34de84d46 (diff) | |
| download | emacs-40af27859e0fc243d1fcfd0ddab4fe1748568c58.tar.gz emacs-40af27859e0fc243d1fcfd0ddab4fe1748568c58.zip | |
; * lib-src/etags.c (escape_shell_arg_string): Minor doc fix.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index b76590631d8..a06c236140f 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -7722,12 +7722,12 @@ etags_mktmp (void) | |||
| 7722 | 7722 | ||
| 7723 | #if !MSDOS && !defined (DOS_NT) | 7723 | #if !MSDOS && !defined (DOS_NT) |
| 7724 | /* | 7724 | /* |
| 7725 | * Adds single quotes around a string, if found single quotes, escaped it. | 7725 | * Add single quotes around a string, and escape any single quotes. |
| 7726 | * Return a newly-allocated string. | 7726 | * Return a newly-allocated string. |
| 7727 | * | 7727 | * |
| 7728 | * For example: | 7728 | * For example: |
| 7729 | * escape_shell_arg_string("test.txt") => 'test.txt' | 7729 | * escape_shell_arg_string ("test.txt") => "'test.txt'" |
| 7730 | * escape_shell_arg_string("'test.txt") => ''\''test.txt' | 7730 | * escape_shell_arg_string ("'test.txt") => "''\''test.txt'" |
| 7731 | */ | 7731 | */ |
| 7732 | static char * | 7732 | static char * |
| 7733 | escape_shell_arg_string (char *str) | 7733 | escape_shell_arg_string (char *str) |