# HG changeset patch # User Richard M. Stallman # Date 791283842 0 # Node ID 5fd4e92c34a674b6fdccc90e0c33e584488ee67d # Parent eb798bab393db1a4c3b74a942c2ad9148b270b0e (match-string): Fix braino. diff -r eb798bab393d -r 5fd4e92c34a6 lisp/subr.el --- 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."