# HG changeset patch # User Gerd Moellmann # Date 1004346648 0 # Node ID 48cf8bbd6e3481c8b49aba5f510c589abb72e6a4 # Parent f73995242ba8e3443720e3b026103855204e3bdf (substitute-env-vars): Don't quote argument to `rx'; it's a macro. diff -r f73995242ba8 -r 48cf8bbd6e34 lisp/env.el --- a/lisp/env.el Mon Oct 29 08:28:56 2001 +0000 +++ b/lisp/env.el Mon Oct 29 09:10:48 2001 +0000 @@ -59,9 +59,9 @@ 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))))