summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-01-27 20:47:20 +0000
committerKarl Heuer <kwzh@gnu.org>1995-01-27 20:47:20 +0000
commit811317691669e23b0ef8c030fdfe00e917cc9a89 (patch)
treead6151051b0c9444293168a27de259f1b2a05c7f /lisp/subr.el
parent5448351795f1bd2d760eaefb4e1ea71344323295 (diff)
downloademacs-811317691669e23b0ef8c030fdfe00e917cc9a89.tar.gz
(match-string): Delete extra arg to buffer-substring.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 21438419302..5d5470f9e24 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -888,7 +888,7 @@ 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 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."