diff options
| -rw-r--r-- | lisp/subr.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 5d5470f9e24..3bcbee52f44 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -887,8 +887,8 @@ Wildcards and redirection are handled as usual in the shell." | |||
| 887 | If the last search or match was done against a string, | 887 | If the last search or match was done against a string, |
| 888 | specify that string as the second argument STRING." | 888 | specify that string as the second argument STRING." |
| 889 | (if string | 889 | (if string |
| 890 | (substring string (match-beginning 0) (match-end 0)) | 890 | (substring string (match-beginning n) (match-end n)) |
| 891 | (buffer-substring (match-beginning 0) (match-end 0)))) | 891 | (buffer-substring (match-beginning n) (match-end n)))) |
| 892 | 892 | ||
| 893 | (defun shell-quote-argument (argument) | 893 | (defun shell-quote-argument (argument) |
| 894 | "Quote an argument for passing as argument to an inferior shell." | 894 | "Quote an argument for passing as argument to an inferior shell." |