aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-01-27 20:47:20 +0000
committerKarl Heuer1995-01-27 20:47:20 +0000
commit44705c0e41bae1261423b418c65e3875700a4bf1 (patch)
treecb960373e69b2b69d3904bfa03a5b6bdcce965ce
parentaee72e4fb5e8b2cc447704430ae2fe4ee0e4ab87 (diff)
downloademacs-44705c0e41bae1261423b418c65e3875700a4bf1.tar.gz
emacs-44705c0e41bae1261423b418c65e3875700a4bf1.zip
(match-string): Delete extra arg to buffer-substring.
-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,
888specify that string as the second argument STRING." 888specify that string as the second argument STRING."
889 (if string 889 (if string
890 (substring string (match-beginning 0) (match-end 0)) 890 (substring string (match-beginning 0) (match-end 0))
891 (buffer-substring string (match-beginning 0) (match-end 0)))) 891 (buffer-substring (match-beginning 0) (match-end 0))))
892 892
893(defun shell-quote-argument (argument) 893(defun shell-quote-argument (argument)
894 "Quote an argument for passing as argument to an inferior shell." 894 "Quote an argument for passing as argument to an inferior shell."