changeset 10569:fa604ffe7e3f

(match-string): Delete extra arg to buffer-substring.
author Karl Heuer <kwzh@gnu.org>
date Fri, 27 Jan 1995 20:47:20 +0000
parents 275f62e27ee2
children 7716de3fb4b6
files lisp/subr.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/subr.el	Fri Jan 27 19:30:46 1995 +0000
+++ b/lisp/subr.el	Fri Jan 27 20:47:20 1995 +0000
@@ -888,7 +888,7 @@
 specify that string as the second argument STRING."
   (if string
       (substring string (match-beginning 0) (match-end 0))
-    (buffer-substring string (match-beginning 0) (match-end 0))))
+    (buffer-substring (match-beginning 0) (match-end 0))))
 
 (defun shell-quote-argument (argument)
   "Quote an argument for passing as argument to an inferior shell."