diff options
| author | Richard M. Stallman | 1995-01-28 09:04:02 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-01-28 09:04:02 +0000 |
| commit | b3f6bcbdadce4b9d8627be405c4c421d32dbb220 (patch) | |
| tree | 8ff261f8d8a8cb07eaf2f85b5447182f2c46824c | |
| parent | 1c738407e33310f41e5f251e9666929dae871ac5 (diff) | |
| download | emacs-b3f6bcbdadce4b9d8627be405c4c421d32dbb220.tar.gz emacs-b3f6bcbdadce4b9d8627be405c4c421d32dbb220.zip | |
(match-string): Fix braino.
| -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." |