Mercurial > emacs
changeset 10586:5fd4e92c34a6
(match-string): Fix braino.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 28 Jan 1995 09:04:02 +0000 |
parents | eb798bab393d |
children | 99b9f20b6921 |
files | lisp/subr.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/subr.el Sat Jan 28 08:38:44 1995 +0000 +++ b/lisp/subr.el Sat Jan 28 09:04:02 1995 +0000 @@ -887,8 +887,8 @@ If the last search or match was done against a string, specify that string as the second argument STRING." (if string - (substring string (match-beginning 0) (match-end 0)) - (buffer-substring (match-beginning 0) (match-end 0)))) + (substring string (match-beginning n) (match-end n)) + (buffer-substring (match-beginning n) (match-end n)))) (defun shell-quote-argument (argument) "Quote an argument for passing as argument to an inferior shell."