From: Gerd Moellmann Date: Mon, 29 Oct 2001 09:10:48 +0000 (+0000) Subject: (substitute-env-vars): Don't quote argument to `rx'; X-Git-Tag: ttn-vms-21-2-B4~19063 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1fd520b6b36ab4ad6769711ebe8ed9145abcfe1e;p=emacs.git (substitute-env-vars): Don't quote argument to `rx'; it's a macro. --- diff --git a/lisp/env.el b/lisp/env.el index 1da48e05ea9..e19f9f7f5da 100644 --- a/lisp/env.el +++ b/lisp/env.el @@ -59,9 +59,9 @@ the entire variable name in braces. Use `$$' to insert a single dollar sign." (let ((start 0)) (while (string-match - (rx '(or (and "$" (submatch (1+ (in "a-zA-Z0-9_")))) - (and "${" (submatch (minimal-match (0+ anything))) "}") - "$$")) + (rx (or (and "$" (submatch (1+ (in "a-zA-Z0-9_")))) + (and "${" (submatch (minimal-match (0+ anything))) "}") + "$$")) string start) (cond ((match-beginning 1) (let ((value (getenv (match-string 1 string))))