aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-01-28 09:04:02 +0000
committerRichard M. Stallman1995-01-28 09:04:02 +0000
commitb3f6bcbdadce4b9d8627be405c4c421d32dbb220 (patch)
tree8ff261f8d8a8cb07eaf2f85b5447182f2c46824c
parent1c738407e33310f41e5f251e9666929dae871ac5 (diff)
downloademacs-b3f6bcbdadce4b9d8627be405c4c421d32dbb220.tar.gz
emacs-b3f6bcbdadce4b9d8627be405c4c421d32dbb220.zip
(match-string): Fix braino.
-rw-r--r--lisp/subr.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 5d5470f9e24..3bcbee52f44 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -887,8 +887,8 @@ Wildcards and redirection are handled as usual in the shell."
887If the last search or match was done against a string, 887If 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 n) (match-end n))
891 (buffer-substring (match-beginning 0) (match-end 0)))) 891 (buffer-substring (match-beginning n) (match-end n))))
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."