Commit 44705c0e authored by Karl Heuer's avatar Karl Heuer
Browse files

(match-string): Delete extra arg to buffer-substring.

parent aee72e4f
......@@ -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."
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment