From: morioka Date: Mon, 13 Apr 1998 13:30:14 +0000 (+0000) Subject: (install-detect-elisp-directory): Modify regexp to allow trailing `/'. X-Git-Tag: apel-8_2~5 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0a090a1e3b128b201efebfbe8fbb76a1dc11f53;p=elisp%2Fapel.git (install-detect-elisp-directory): Modify regexp to allow trailing `/'. --- diff --git a/install.el b/install.el index 70a1714..1b9b927 100644 --- a/install.el +++ b/install.el @@ -166,9 +166,9 @@ dir) (while (setq dir (car rest)) (if (string-match - (concat "^" - (expand-file-name (concat ".*/" elisp-prefix) prefix) - "$") + `,(concat "^" + (expand-file-name (concat ".*/" elisp-prefix) prefix) + "/?$") dir) (if (or allow-version-specific (not (string-match (format "%d\\.%d"